git: libstand: add fgets()
Thomas Nikolajsen
thomas at crater.dragonflybsd.org
Tue Oct 5 17:51:54 PDT 2010
commit 368f90fe873286d6e026e89e8b63daa6d344339d
Author: Thomas Nikolajsen <thomas at dragonflybsd.org>
Date: Wed Oct 6 00:44:45 2010 +0200
libstand: add fgets()
This fgets() operates on int fd, not FILE * stream,
as libstand doesn't supply FILE type.
fgetstr() is already in libstand, but it can't determine
if line did fit in supplied buffer.
Summary of changes:
lib/libstand/gets.c | 30 +++++++++++++++++++++++++++++-
lib/libstand/libstand.3 | 19 +++++++++++++++++--
lib/libstand/stand.h | 1 +
3 files changed, 47 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/368f90fe873286d6e026e89e8b63daa6d344339d
--
DragonFly BSD source repository
More information about the Commits
mailing list