mutex_get(): Change parameter from key_t to int.
[dss.git] / string.h
1 __must_check __malloc void *dss_realloc(void *p, size_t size);
2 __must_check __malloc void *dss_malloc(size_t size);
3 __must_check __malloc void *dss_calloc(size_t size);
4 __must_check __printf_1_2 __malloc char *make_message(const char *fmt, ...);
5 __must_check __malloc char *dss_strdup(const char *s);
6 __must_check __malloc char *get_homedir(void);
7 int dss_atoi64(const char *str, int64_t *value);
8 __must_check __malloc char *dss_logname(void);
9 __must_check unsigned split_args(char *args, char *** const argv_ptr, const char *delim);
10
11
12 /** \cond LLONG_MAX and LLONG_LIN might not be defined. */
13 #ifndef LLONG_MAX
14 #define LLONG_MAX (1 << (sizeof(long) - 1))
15 #endif
16 #ifndef LLONG_MIN
17 #define LLONG_MIN (-LLONG_MAX - 1LL)
18 #endif
19 /** \endcond */
20