repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
kernel - cleanup vfs_cache debugging
[dragonfly.git]
/
contrib
/
mdocml
/
test-fgetln.c
blob
ac225a178f35cd1a9874cf754e4a9a3dabeb03ce
1
#include <sys/types.h>
2
#include <stdio.h>
3
#include <unistd.h>
4
5
int
6
main
(
void
)
7
{
8
size_t
sz
;
9
fclose
(
stdin
);
10
return
(
NULL
!=
fgetln
(
stdin
, &
sz
));
11
}