• Show log

    Commit

  • Hash : c17c7e13
    Author : Thorsten Glaser
    Date : 2009-12-10T18:07:25

    Expand on API guarantee for fgetln
    
    OpenBSD has begun using the API guarantee that *len is not 0 if
    the fgetln(3) return value is not NULL; document this explicitly
    in the manpage and add a comment to the function implementation
    that this doesn’t need to be checked because getdelim/getline have
    similar guarantees.
    
    Signed-off-by: Thorsten Glaser <tg@mirbsd.org>