]> granicus.if.org Git - musl/commit
add bsd fgetln function
authorRich Felker <dalias@aerifal.cx>
Sat, 11 Aug 2012 22:10:38 +0000 (18:10 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 11 Aug 2012 22:10:38 +0000 (18:10 -0400)
commit617182734ca0beffa347747019d78b972e2038f9
treeef09b631f0057e571e7ea707c281b68bdc60503c
parent2b964b010e5d37cb2ff712d57a14095188d689e3
add bsd fgetln function

optimized to avoid allocation and return lines directly out of the
stream buffer whenever possible.
include/stdio.h
src/internal/stdio_impl.h
src/stdio/fclose.c
src/stdio/fgetln.c [new file with mode: 0644]