dss.ggo: Fix a typo.
[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
11 /** \cond LLONG_MAX and LLONG_LIN might not be defined. */
12 #ifndef LLONG_MAX
13 #define LLONG_MAX (1 << (sizeof(long) - 1))
14 #endif
15 #ifndef LLONG_MIN
16 #define LLONG_MIN (-LLONG_MAX - 1LL)
17 #endif
18 /** \endcond */
19