22 #ifndef LELY_LIBC_STDIO_H_ 23 #define LELY_LIBC_STDIO_H_ 34 #if !(_POSIX_C_SOURCE >= 200809L) 53 ssize_t getdelim(
char **lineptr,
size_t *n,
int delim, FILE *stream);
56 ssize_t getline(
char **lineptr,
size_t *n, FILE *stream);
58 #endif // !(_POSIX_C_SOURCE >= 200809L) 60 #if !defined(_GNU_SOURCE) 78 int asprintf(
char **strp,
const char *fmt, ...);
95 int vasprintf(
char **strp,
const char *fmt, va_list ap);
97 #endif // !_GNU_SOURCE 103 #endif // !LELY_LIBC_STDIO_H_ int vasprintf(char **strp, const char *fmt, va_list ap)
Equivalent to vsprintf(), except that it allocates a string large enough to hold the output...
This header file is part of the C11 and POSIX compatibility library; it includes <sys/types.h>, if it exists, and defines any missing functionality.
int asprintf(char **strp, const char *fmt,...)
Equivalent to sprintf(), except that it allocates a string large enough to hold the output...
This header file is part of the C11 and POSIX compatibility library; it includes <stdio.h> and defines any missing functionality.