repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fri Jun 14 01:51:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
[glibc.git]
/
stdio-common
/
bug11.c
blob
1f5739cb7d7c08f6b2cb8ccfabe536b30dae5de4
1
#include <stdio.h>
2
#include <string.h>
3
4
main
()
5
{
6
int
ret
;
7
char
buf
[
1024
] =
"Ooops"
;
8
9
ret
=
sscanf
(
"static char Term_bits[] = {"
,
"static char %s = {"
,
buf
);
10
printf
(
"ret: %d, name: %s
\n
"
,
ret
,
buf
);
11
12
return
strcmp
(
buf
,
"Term_bits[]"
) !=
0
||
ret
!=
1
;
13
}