repo.or.cz
/
glibc
/
history.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
[glibc/history.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
}