Changeset 04b687b in mainline
- Timestamp:
- 2008-12-29T11:17:44Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63088cc1
- Parents:
- 8b74af07
- Location:
- uspace
- Files:
-
- 3 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/Makefile
r8b74af07 r04b687b 58 58 devmap/devmap1.c \ 59 59 console/console1.c \ 60 stdio/stdio1.c \ 60 61 vfs/vfs1.c 61 62 -
uspace/app/tester/tester.c
r8b74af07 r04b687b 60 60 #include "vfs/vfs1.def" 61 61 #include "console/console1.def" 62 #include "stdio/stdio1.def" 62 63 {NULL, NULL, NULL} 63 64 }; -
uspace/app/tester/tester.h
r8b74af07 r04b687b 73 73 extern char * test_vfs1(bool quiet); 74 74 extern char * test_console1(bool quiet); 75 extern char * test_stdio1(bool quiet); 75 76 76 77 extern test_t tests[]; -
uspace/lib/libc/Makefile
r8b74af07 r04b687b 61 61 generic/io/io.c \ 62 62 generic/io/printf.c \ 63 generic/io/stdio.c \ 63 64 generic/io/stream.c \ 64 65 generic/io/sprintf.c \ -
uspace/lib/libc/generic/libc.c
r8b74af07 r04b687b 54 54 extern int main(int argc, char *argv[]); 55 55 56 int _errno; 57 56 58 void _exit(int status) 57 59 { -
uspace/lib/libc/include/errno.h
r8b74af07 r04b687b 36 36 #define LIBC_ERRNO_H_ 37 37 38 /* TODO: support threads/fibrils */ 39 extern int _errno; 40 #define errno _errno 41 38 42 #include <kernel/errno.h> 39 43 -
uspace/lib/libc/include/stdio.h
r8b74af07 r04b687b 53 53 } 54 54 55 typedef struct { 56 /** Underlying file descriptor. */ 57 int fd; 58 59 /** Error indicator. */ 60 int error; 61 62 /** End-of-file indicator. */ 63 int eof; 64 } FILE; 65 55 66 extern int getchar(void); 56 67 … … 71 82 extern int rename(const char *, const char *); 72 83 84 extern FILE *fopen(const char *, const char *); 85 extern int fclose(FILE *); 86 extern size_t fread(void *, size_t, size_t, FILE *); 87 extern size_t fwrite(const void *, size_t, size_t, FILE *); 88 extern int feof(FILE *); 89 extern int ferror(FILE *); 90 extern void clearerr(FILE *); 91 73 92 #endif 74 93
Note:
See TracChangeset
for help on using the changeset viewer.