X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=string.h;h=68ad7462e2f5fea0dd43642cbaf00825717e41ed;hp=37c7cd815f0bad1cfa0b376bdbc29fb240b5e2d2;hb=1136bdfc82272850474eacba37cf87d01f6a1b7f;hpb=31aed0af96ade20b74753b820d5a037a72204a10 diff --git a/string.h b/string.h index 37c7cd8..68ad746 100644 --- a/string.h +++ b/string.h @@ -4,7 +4,7 @@ * Licensed under the GPL v2. For licencing details see COPYING. */ -/** \file string.h exported sybmols from string.c */ +/** \file string.h \brief Exported sybmols from string.c */ __must_check __malloc void *adu_realloc(void *p, size_t size); __must_check __malloc void *adu_malloc(size_t size); @@ -12,7 +12,8 @@ __must_check __malloc void *adu_calloc(size_t size); __must_check __malloc char *adu_strdup(const char *s); __must_check __malloc char *adu_strcat(char *a, const char *b); __must_check __malloc __printf_1_2 char *make_message(const char *fmt, ...); +__must_check __malloc char *absolute_path(const char *path); __must_check int atoi64(const char *str, int64_t *result); -int parse_uid_arg(const char *orig_arg, struct uid_range **ur); +__must_check unsigned split_args(char *args, char *** const argv_ptr, const char *delim); int create_argv(const char *line, char ***result); void free_argv(char **argv);