Makefile: use --detailed-help to produce the man page.
[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 __printf_1_2 void make_err_msg(const char* fmt,...);
7 __must_check __malloc char *get_homedir(void);
8 int dss_atoi64(const char *str, int64_t *value);
9 __must_check __malloc char *dss_logname(void);
10 __must_check unsigned split_args(char *args, char *** const argv_ptr, const char *delim);
11
12
13 /** \cond LLONG_MAX and LLONG_LIN might not be defined. */
14 #ifndef LLONG_MAX
15 #define LLONG_MAX (1 << (sizeof(long) - 1))
16 #endif
17 #ifndef LLONG_MIN
18 #define LLONG_MIN (-LLONG_MAX - 1LL)
19 #endif
20 /** \endcond */
21