Changeset 09b0b1fb in mainline
- Timestamp:
- 2011-06-09T16:06:07Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9536e6e
- Parents:
- ceebf0a
- Location:
- uspace/lib/posix
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/stdio.h
rceebf0a r09b0b1fb 33 33 34 34 #define putc fputc 35 #define getc fgetc 36 37 38 extern FILE *posix_freopen(const char *restrict filename, 39 const char *restrict mode, 40 FILE *restrict stream); 41 42 extern void posix_perror(const char *s); 43 44 #ifndef POSIX_INTERNAL 45 #define freopen posix_freopen 46 #define perror posix_perror 47 #endif 35 48 36 49 #endif /* POSIX_STDIO_H_ */ -
uspace/lib/posix/stdlib.c
rceebf0a r09b0b1fb 111 111 } 112 112 113 /** 114 * 115 * @param str 116 * @return 117 */ 118 int posix_atoi(const char *str) 119 { 120 // TODO 121 not_implemented(); 122 } 123 113 124 /** @} 114 125 */ -
uspace/lib/posix/stdlib.h
rceebf0a r09b0b1fb 65 65 extern long double posix_strtold(const char *restrict nptr, char **restrict endptr); 66 66 67 /* decimal to native integer conversion */ 68 extern int posix_atoi(const char *str); 69 67 70 #ifndef LIBPOSIX_INTERNAL 68 71 #define qsort posix_qsort … … 73 76 #define strtod posix_strtod 74 77 #define strtold posix_strtold 78 79 #define atoi posix_atoi 75 80 #endif 76 81
Note:
See TracChangeset
for help on using the changeset viewer.