chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PATCH] The following patch fixes some warnings when compiling volume_id
[elogind.git]
/
klibc
/
klibc
/
tests
/
opentest.c
1
#include <stdio.h>
2
3
int main(void)
4
{
5
char buffer[1024];
6
FILE *f;
7
8
f = fopen("/etc/passwd", "r");
9
fgets(buffer, 1024, f);
10
fclose(f);
11
12
printf("Line 1 = %s", buffer);
13
14
return 0;
15
}
16
17