git: fgetln.3: Add the CAVEATS section with an example

Aaron LI aly at crater.dragonflybsd.org
Wed Jan 16 02:14:53 PST 2019


commit 1f119bc603f4ab8f1b7c9c478b07fe95db70b499
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Jan 16 16:57:05 2019 +0800

    fgetln.3: Add the CAVEATS section with an example
    
    Add the CAVEATS section to warn about the behavior of fgetln().  An
    example is included to demonstrate how to properly use it.
    
    Obtained-from: NetBSD, with the ferror() check from OpenBSD

Summary of changes:
 lib/libc/stdio/fgetln.3 | 28 ++++++++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1f119bc603f4ab8f1b7c9c478b07fe95db70b499


-- 
DragonFly BSD source repository


More information about the Commits mailing list