fd.c: EAGAIN can not happen in __write().
[adu.git] / string.h
1 /*
2  * Copyright (C) 2006-2008 Andre Noll <maan@tuebingen.mpg.de>
3  *
4  * Licensed under the GPL v2. For licencing details see COPYING.
5  */
6
7 /** \file string.h \brief Exported sybmols from string.c */
8
9 __must_check __malloc void *adu_realloc(void *p, size_t size);
10 __must_check __malloc void *adu_malloc(size_t size);
11 __must_check __malloc void *adu_calloc(size_t size);
12 __must_check __malloc char *adu_strdup(const char *s);
13 __must_check __malloc char *adu_strcat(char *a, const char *b);
14 __must_check __malloc __printf_1_2 char *make_message(const char *fmt, ...);
15 __must_check __malloc char *absolute_path(const char *path);
16 __must_check int atoi64(const char *str, int64_t *result);
17 unsigned split_args(char *args, char *** const argv_ptr, const char *delim);
18 int create_argv(const char *line, char ***result);
19 void free_argv(char **argv);