diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-03 05:12:29 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-03 05:12:29 +0000 |
| commit | accd7f182e87d2a1d578214211ee7ded32753803 (patch) | |
| tree | 90de65019704d8a469505b67d00c11e813d480e0 /lib/libc/stdio/sscanf.c | |
| parent | c3287ad65e82f73d993c7537d1fc5a7a16199449 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/sscanf.c')
| -rw-r--r-- | lib/libc/stdio/sscanf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/stdio/sscanf.c b/lib/libc/stdio/sscanf.c index bb7274437802..dc96312a5635 100644 --- a/lib/libc/stdio/sscanf.c +++ b/lib/libc/stdio/sscanf.c @@ -59,8 +59,10 @@ eofread(cookie, buf, len) } #if __STDC__ +int sscanf(const char *str, char const *fmt, ...) #else +int sscanf(str, fmt, va_alist) char *str; char *fmt; @@ -71,6 +73,7 @@ sscanf(str, fmt, va_alist) va_list ap; FILE f; + f._file = -1; f._flags = __SRD; f._bf._base = f._p = (unsigned char *)str; f._bf._size = f._r = strlen(str); |
