DragonFly commits List (threaded) for 2010-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: libstand: add fgets()
commit 368f90fe873286d6e026e89e8b63daa6d344339d
Author: Thomas Nikolajsen <thomas@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]