Changeset 0ffbed9 in mainline for uspace/lib/posix/stdlib.c
- Timestamp:
- 2011-06-19T17:49:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5974661
- Parents:
- f48b637 (diff), 32fb6944 (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.c
rf48b637 r0ffbed9 37 37 38 38 #include "stdlib.h" 39 #include " common.h"39 #include "internal/common.h" 40 40 41 41 /** … … 46 46 * @param compare 47 47 */ 48 void posix_qsort(void *array, size_t count, size_t size, int (*compare)(const void *, const void *)) 48 void posix_qsort(void *array, size_t count, size_t size, 49 int (*compare)(const void *, const void *)) 49 50 { 50 51 // TODO … … 76 77 77 78 /** 78 * 79 * Converts a string representation of a floating-point number to 80 * its native representation. See posix_strtold(). 81 * 79 82 * @param nptr 80 83 * @param endptr … … 83 86 float posix_strtof(const char *restrict nptr, char **restrict endptr) 84 87 { 85 // TODO 86 not_implemented(); 88 return (float) posix_strtold(nptr, endptr); 87 89 } 88 90 89 91 /** 90 * 92 * Converts a string representation of a floating-point number to 93 * its native representation. See posix_strtold(). 94 * 91 95 * @param nptr 92 96 * @param endptr … … 95 99 double posix_strtod(const char *restrict nptr, char **restrict endptr) 96 100 { 97 // TODO 98 not_implemented(); 99 } 100 101 /** 102 * 103 * @param nptr 104 * @param endptr 105 * @return 106 */ 107 long double posix_strtold(const char *restrict nptr, char **restrict endptr) 108 { 109 // TODO 110 not_implemented(); 101 return (double) posix_strtold(nptr, endptr); 111 102 } 112 103
Note:
See TracChangeset
for help on using the changeset viewer.