Commit c17c7e13c3522c6d72ceb4bc207308b8c7452b44

Thorsten Glaser 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>