Changeset 4d10fc8 in mainline
- Timestamp:
- 2011-06-07T17:16:38Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- acc3f82c
- Parents:
- 2fc5072
- Location:
- uspace/lib/posix
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/stdlib.c
r2fc5072 r4d10fc8 33 33 */ 34 34 35 # undef qsort35 #define LIBPOSIX_INTERNAL 36 36 37 #undef getenv 38 39 #undef realpath 37 #include "stdlib.h" 40 38 41 39 /** -
uspace/lib/posix/stdlib.h
r2fc5072 r4d10fc8 56 56 extern char *posix_realpath(const char *restrict name, char *restrict resolved); 57 57 58 #ifndef LIBPOSIX_INTERNAL 59 #define qsort posix_qsort 60 #define getenv posix_getenv 61 #define realpath posix_realpath 62 #endif 63 58 64 #endif // POSIX_STDLIB_H_ 59 65 -
uspace/lib/posix/string.c
r2fc5072 r4d10fc8 34 34 */ 35 35 36 #define LIBPOSIX_INTERNAL 37 36 38 #include "string.h" 37 39 … … 39 41 40 42 #include <str_error.h> 41 42 #undef strcpy43 #undef strncpy44 #undef strcat45 #undef strncat46 #undef mempcpy47 #undef strdup48 49 #undef memcmp50 #undef strcmp51 #undef strncmp52 #undef strcasecmp53 #undef strncasecmp54 55 #undef memchr56 #undef rawmemchr57 #undef strchr58 #undef strrchr59 #undef strpbrk60 #undef strcspn61 #undef strspn62 #undef strstr63 64 #undef strcoll65 #undef strxfrm66 67 #undef strerror68 69 #undef strlen70 43 71 44 /** -
uspace/lib/posix/string.h
r2fc5072 r4d10fc8 79 79 extern size_t posix_strlen(const char *s); 80 80 81 #define strcpy posix_strcpy 82 #define strncpy posix_strncpy 83 #define strcat posix_strcat 84 #define strncat posix_strncat 85 #define mempcpy posix_mempcpy 86 #define strdup posix_strdup 81 #ifndef LIBPOSIX_INTERNAL 82 #define strcpy posix_strcpy 83 #define strncpy posix_strncpy 84 #define strcat posix_strcat 85 #define strncat posix_strncat 86 #define mempcpy posix_mempcpy 87 #define strdup posix_strdup 87 88 88 #define memcmp posix_memcmp89 #define strcmp posix_strcmp90 #define strncmp posix_strncmp91 #define strcasecmp posix_strcasecmp92 #define strncasecmp posix_strncasecmp89 #define memcmp posix_memcmp 90 #define strcmp posix_strcmp 91 #define strncmp posix_strncmp 92 #define strcasecmp posix_strcasecmp 93 #define strncasecmp posix_strncasecmp 93 94 94 #define memchr posix_memchr95 #define rawmemchr posix_rawmemchr96 #define strchr posix_strchr97 #define strrchr posix_strrchr98 #define strpbrk posix_strpbrk99 #define strcspn posix_strcspn100 #define strspn posix_strspn101 #define strstr posix_strstr95 #define memchr posix_memchr 96 #define rawmemchr posix_rawmemchr 97 #define strchr posix_strchr 98 #define strrchr posix_strrchr 99 #define strpbrk posix_strpbrk 100 #define strcspn posix_strcspn 101 #define strspn posix_strspn 102 #define strstr posix_strstr 102 103 103 #define strcoll posix_strcoll104 #define strxfrm posix_strxfrm104 #define strcoll posix_strcoll 105 #define strxfrm posix_strxfrm 105 106 106 #define strerror posix_strerror107 #define strerror posix_strerror 107 108 108 #define strlen posix_strlen 109 #define strlen posix_strlen 110 #endif 109 111 110 112 #endif // POSIX_STRING_H_ -
uspace/lib/posix/time.c
r2fc5072 r4d10fc8 34 34 */ 35 35 36 #define LIBPOSIX_INTERNAL 37 36 38 #include "time.h" 37 38 #undef tm39 40 #undef localtime41 42 #undef asctime43 #undef ctime44 #undef strftime45 39 46 40 /** -
uspace/lib/posix/time.h
r2fc5072 r4d10fc8 63 63 extern size_t posix_strftime(char *restrict s, size_t maxsize, const char *restrict format, const struct posix_tm *restrict tm); 64 64 65 #define tm posix_tm 65 #ifndef LIBPOSIX_INTERNAL 66 #define tm posix_tm 66 67 67 #define localtime posix_localtime68 #define localtime posix_localtime 68 69 69 #define asctime posix_asctime 70 #define ctime posix_ctime 71 #define strftime posix_strftime 70 #define asctime posix_asctime 71 #define ctime posix_ctime 72 #define strftime posix_strftime 73 #endif 72 74 73 75 #endif // POSIX_TIME_H_
Note:
See TracChangeset
for help on using the changeset viewer.