summaryrefslogtreecommitdiff
path: root/src/err.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2009-05-15 21:23:03 +0200
committerGuillem Jover <guillem@hadrons.org>2009-05-15 21:23:03 +0200
commitdeb9f56ceb560f96448ff9bfa1befdf7ed9849de (patch)
tree1d19276539c75801de99280a4319621ab62fce0f /src/err.c
parentaefc6f441aa1ae51135fea33d25572e39222cce7 (diff)
downloadlibbsd-deb9f56ceb560f96448ff9bfa1befdf7ed9849de.tar.gz
Change fgetln to return the correct length value
Set len to 0 on error conditions to mimmic FreeBSD behaviour, and return the amount of read characters on success, instead of the allocated size by getline. Reported-by: Jief L. <jief1.l@gmail.com>
Diffstat (limited to 'src/err.c')
0 files changed, 0 insertions, 0 deletions