]> git.tuebingen.mpg.de Git - dss.git/blobdiff - string.h
Makefile: use --detailed-help to produce the man page.
[dss.git] / string.h
index 41afe8f40ad1ccf37ae4c5dae0234c3e77380470..6c0ab61e7a9a66e91e3f654ac6197ff489fa08d5 100644 (file)
--- a/string.h
+++ b/string.h
@@ -7,3 +7,15 @@ __printf_1_2 void make_err_msg(const char* fmt,...);
 __must_check __malloc char *get_homedir(void);
 int dss_atoi64(const char *str, int64_t *value);
 __must_check __malloc char *dss_logname(void);
+__must_check unsigned split_args(char *args, char *** const argv_ptr, const char *delim);
+
+
+/** \cond LLONG_MAX and LLONG_LIN might not be defined. */
+#ifndef LLONG_MAX
+#define LLONG_MAX (1 << (sizeof(long) - 1))
+#endif
+#ifndef LLONG_MIN
+#define LLONG_MIN (-LLONG_MAX - 1LL)
+#endif
+/** \endcond */
+