repo.or.cz
/
glibc
/
nacl-glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix error handling for syscalls: return -1
[glibc/nacl-glibc.git]
/
hellow.c
blob
da88af3177c58f362b2eebba6393bdb27071708d
1
2
#include <stdio.h>
3
4
int
main
()
5
{
6
write
(
1
,
"Hello (via write())
\n
"
,
20
);
7
printf
(
"Hello world (%s)
\n
"
,
"via printf()"
);
8
open
(
"file"
,
0
);
9
return
0
;
10
}