DragonFlyBSD/src 45e55a3 — lib/libc/stdio getline.3
getline.3: Note to distinguish between error and EoF Note that the getline() and getdelim() functions do not distinguish between end-of-file and error, so the callers must use feof() or ferror() to determine which occurred. Update the example to check the error. Obtained-from: OpenBSD
Delta | File | |
---|---|---|
+13 | -1 | lib/libc/stdio/getline.3 |
+13 | -1 | 1 files |