projects
/
kopensolaris-gnu
/
glibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
[kopensolaris-gnu/glibc.git]
/
stdio-common
/
bug11.c
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
}