Changes in uspace/lib/posix/stdlib.c [09b0b1fb:63fc519] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/stdlib.c
r09b0b1fb r63fc519 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.