libstand: add fgets()
authorThomas Nikolajsen <thomas@dragonflybsd.org>
Tue, 5 Oct 2010 22:44:45 +0000 (00:44 +0200)
committerThomas Nikolajsen <thomas@dragonflybsd.org>
Wed, 6 Oct 2010 00:36:22 +0000 (02:36 +0200)
commit368f90fe873286d6e026e89e8b63daa6d344339d
tree5c85db254542dce3e15c5c7986413e58d075a0c3
parent7ad109144437549598e004ac327522a3106f57f9
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.
lib/libstand/gets.c
lib/libstand/libstand.3
lib/libstand/stand.h