22#ifndef LELY_LIBC_STDIO_H_
23#define LELY_LIBC_STDIO_H_
34#if !(_POSIX_C_SOURCE >= 200809L)
53ssize_t getdelim(
char **lineptr,
size_t *n,
int delim, FILE *stream);
56ssize_t getline(
char **lineptr,
size_t *n, FILE *stream);
60#if !defined(_GNU_SOURCE) || defined(__MINGW32__)
78int asprintf(
char **strp,
const char *fmt, ...);
95int vasprintf(
char **strp,
const char *fmt, va_list ap);
This header file is part of the C11 and POSIX compatibility library; it includes <stdio....
int asprintf(char **strp, const char *fmt,...)
Equivalent to sprintf(), except that it allocates a string large enough to hold the output,...
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....
ptrdiff_t ssize_t
Used for a count of bytes or an error indication.