--- dietlibc/t.c 2001/05/18 20:40:59 1.81 +++ dietlibc/t.c 2001/05/18 21:10:21 1.82 @@ -31,11 +31,17 @@ int foo; int main(int argc,char *argv[]) { + char type[64]; + int len; + printf("%d\n",sscanf("\n","%63s%n",type,&len)); + printf("%s %d\n",type,len); +#if 0 char buf[100]; char ip[16]; memset(ip,0,16); printf("%p %p\n",inet_ntop(AF_INET6,ip,buf,100),buf); puts(buf); +#endif #if 0 struct addrinfo *ai; struct addrinfo hints;