* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / linux86-0.16.17 / tests / line2.c
blob6cc11ff8d5ca64bb09f44ce9c3769eb8f2110f16
2 #include <stdio.h>
4 char buf[256];
6 main()
8 FILE * fd;
9 fd = fopen("/etc/passwd", "r");
11 while(fgets(buf, sizeof(buf), fd) != NULL)
13 printf(">>%s", buf);