diff options
Diffstat (limited to 'include/stdio.h')
-rw-r--r-- | include/stdio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/stdio.h b/include/stdio.h index d9fbe98eb20d..7eff3ae7562d 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -116,8 +116,8 @@ typedef struct __sFILE { unsigned char _ubuf[3]; /* guarantee an ungetc() buffer */ unsigned char _nbuf[1]; /* guarantee a getc() buffer */ - /* separate buffer for fgetline() when line crosses buffer boundary */ - struct __sbuf _lb; /* buffer for fgetline() */ + /* separate buffer for fgetln() when line crosses buffer boundary */ + struct __sbuf _lb; /* buffer for fgetln() */ /* Unix stdio files get aligned to block boundaries on fseek() */ int _blksize; /* stat.st_blksize (may be != _bf._size) */ @@ -142,7 +142,7 @@ __END_DECLS #define __SOPT 0x0400 /* do fseek() optimisation */ #define __SNPT 0x0800 /* do not do fseek() optimisation */ #define __SOFF 0x1000 /* set iff _offset is in fact correct */ -#define __SMOD 0x2000 /* true => fgetline modified _p text */ +#define __SMOD 0x2000 /* true => fgetln modified _p text */ /* * The following three definitions are for ANSI C, which took them @@ -259,7 +259,7 @@ __END_DECLS */ #if !defined (_ANSI_SOURCE) && !defined(_POSIX_SOURCE) __BEGIN_DECLS -char *fgetline __P((FILE *, size_t *)); +char *fgetln __P((FILE *, size_t *)); int fpurge __P((FILE *)); int getw __P((FILE *)); int pclose __P((FILE *)); |