git.ckatri.com
/
mandoc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Implement the roff(7) .rr (remove register) request.
[mandoc.git]
/
test-fgetln.c
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
}