git: libstand: add fgets()

看板DFBSD_commit作者時間15年前 (2010/10/06 09:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CgyfMdi (DFBSD_commit)