repo.or.cz
/
mascara-docs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* added compilers lcc and bcc (linux86)
[mascara-docs.git]
/
compilers
/
linux86-0.16.17
/
tests
/
line2.c
blob
6cc11ff8d5ca64bb09f44ce9c3769eb8f2110f16
1
2
#include <stdio.h>
3
4
char
buf
[
256
];
5
6
main
()
7
{
8
FILE
*
fd
;
9
fd
=
fopen
(
"/etc/passwd"
,
"r"
);
10
11
while
(
fgets
(
buf
,
sizeof
(
buf
),
fd
) !=
NULL
)
12
{
13
printf
(
">>%s"
,
buf
);
14
}
15
}