only use memcpy realloc to shrink if an exact-sized free chunk exists
[oweals/musl.git] / src / stdio / getline.c
1 #include <stdio.h>
2
3 ssize_t getline(char **restrict s, size_t *restrict n, FILE *restrict f)
4 {
5         return getdelim(s, n, '\n', f);
6 }