diff options
author | dzwdz | 2023-08-25 14:06:00 +0200 |
---|---|---|
committer | dzwdz | 2023-08-25 14:06:00 +0200 |
commit | a767724386c9fe175c2fe4311511c0a402339c37 (patch) | |
tree | 7667b5b9a0cd40da58a778c83666467e0a40b9ce /src/libc/stdio | |
parent | 3e09037780ca95633749be3acd52e817eed7f98c (diff) |
libc: get as+ld to work
Diffstat (limited to 'src/libc/stdio')
-rw-r--r-- | src/libc/stdio/file.c | 4 | ||||
-rw-r--r-- | src/libc/stdio/misc.c | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/libc/stdio/file.c b/src/libc/stdio/file.c index 984c419..de88a9f 100644 --- a/src/libc/stdio/file.c +++ b/src/libc/stdio/file.c @@ -305,10 +305,6 @@ int fseeko(FILE *f, off_t offset, int whence) { break; case SEEK_CUR: base = f->pos; - // TODO untested - if (f->readbuf) { - base -= f->rblen; - } break; case SEEK_END: base = _sys_getsize(f->fd); diff --git a/src/libc/stdio/misc.c b/src/libc/stdio/misc.c index 45144f3..7e8e746 100644 --- a/src/libc/stdio/misc.c +++ b/src/libc/stdio/misc.c @@ -44,9 +44,3 @@ char *tmpnam(char *s) { strcpy(s, "/tmp/tmpnam"); return s; } - -// TODO sscanf -int sscanf(const char *restrict s, const char *restrict format, ...) { - (void)s; (void)format; - return 0; -} |