repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20030626-1.c
blob
8b985f03530cead8aa162938036d93ba30310f3f
1
char
buf
[
10
];
2
3
extern
void
abort
(
void
);
4
extern
int
sprintf
(
char
*,
const char
*, ...);
5
6
int
main
()
7
{
8
int
l
=
sprintf
(
buf
,
"foo\0bar"
);
9
if
(
l
!=
3
)
10
abort
();
11
return
0
;
12
}
13