Changeset cc3652db in mainline for uspace/lib/posix/stdlib.h
- Timestamp:
- 2011-06-25T13:59:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be64a84
- Parents:
- 2b83add
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/stdlib.h
r2b83add rcc3652db 56 56 extern long long posix_llabs(long long i); 57 57 58 /* Array Sort Function */ 58 /* Integer division */ 59 60 typedef struct { 61 int quot, rem; 62 } posix_div_t; 63 64 typedef struct { 65 long quot, rem; 66 } posix_ldiv_t; 67 68 typedef struct { 69 long long quot, rem; 70 } posix_lldiv_t; 71 72 extern posix_div_t posix_div(int numer, int denom); 73 extern posix_ldiv_t posix_ldiv(long numer, long denom); 74 extern posix_lldiv_t posix_lldiv(long long numer, long long denom); 75 76 /* Array Functions */ 59 77 extern void posix_qsort(void *array, size_t count, size_t size, 60 78 int (*compare)(const void *, const void *)); 79 extern void *posix_bsearch(const void *key, const void *base, 80 size_t nmemb, size_t size, int (*compar)(const void *, const void *)); 81 61 82 62 83 /* Environment Access */ 63 84 extern char *posix_getenv(const char *name); 64 85 extern int posix_putenv(char *string); 86 87 extern int posix_system(const char *string); 88 65 89 66 90 /* Symbolic Links */ … … 104 128 #define llabs posix_llabs 105 129 130 #define div_t posix_div_t 131 #define ldiv_t posix_ldiv_t 132 #define lldiv_t posix_lldiv_t 133 #define div posix_div 134 #define ldiv posix_ldiv 135 #define lldiv posix_lldiv 136 106 137 #define qsort posix_qsort 138 #define bsearch posix_bsearch 107 139 108 140 #define getenv posix_getenv 109 141 #define putenv posix_putenv 142 #define system posix_system 110 143 111 144 #define realpath posix_realpath
Note:
See TracChangeset
for help on using the changeset viewer.