blob: 5a54d2fce256392ff26adbcd79844377b46e1c3f [file] [log] [blame]
#include <stdio.h>
int main(void)
{
char buffer[1024];
FILE *f;
f = fopen("/etc/passwd", "r");
fgets(buffer, 1024, f);
fclose(f);
printf("Line 1 = %s", buffer);
return 0;
}