mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-06-18 19:50:33 +02:00

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>