Changeset 021c508 in mainline for uspace/lib/posix/stdlib.h
- Timestamp:
- 2011-06-24T02:17:09Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d185132
- Parents:
- 4d4988e (diff), 67c64b9f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/stdlib.h
r4d4988e r021c508 49 49 #define EXIT_SUCCESS 0 50 50 #define _Exit exit 51 extern int posix_atexit(void (*func)(void)); 52 53 /* Absolute Value */ 54 extern int posix_abs(int i); 51 55 52 56 /* Array Sort Function */ … … 56 60 /* Environment Access */ 57 61 extern char *posix_getenv(const char *name); 62 extern int posix_putenv(char *string); 58 63 59 64 /* Symbolic Links */ … … 68 73 extern int posix_atoi(const char *str); 69 74 75 /* Memory Allocation */ 76 extern void *posix_malloc(size_t size); 77 extern void *posix_calloc(size_t nelem, size_t elsize); 78 extern void *posix_realloc(void *ptr, size_t size); 79 extern void posix_free(void *ptr); 80 81 /* Legacy Declarations */ 82 extern char *posix_mktemp(char *tmpl); 83 70 84 #ifndef LIBPOSIX_INTERNAL 85 #define atexit posix_atexit 86 87 #define abs posix_abs 88 71 89 #define qsort posix_qsort 90 72 91 #define getenv posix_getenv 92 73 93 #define realpath posix_realpath 74 94 … … 78 98 79 99 #define atoi posix_atoi 100 101 #define malloc posix_malloc 102 #define calloc posix_calloc 103 #define realloc posix_realloc 104 #define free posix_free 105 106 #define mktemp posix_mktemp 80 107 #endif 81 108
Note:
See TracChangeset
for help on using the changeset viewer.