repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update reference to standard.
[official-gcc.git]
/
libio
/
stdio
/
getline.c
blob
6f4b677086e82d413fe514e3d088086aa39c551f
1
#include
"libioP.h"
2
#include
"stdio.h"
3
4
/* NOTE: This geline function is different from _IO_getline. */
5
6
_IO_ssize_t
7
getline
(
lineptr
,
linelen
,
fp
)
8
char
**
lineptr
;
9
size_t
*
linelen
;
10
FILE
*
fp
;
11
{
12
return
_IO_getdelim
(
lineptr
,
linelen
,
'
\n
'
,
fp
);
13
}