Changeset 5c5117c in mainline for uspace/lib/posix/stdlib.c
- Timestamp:
- 2011-06-20T02:42:01Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 79506d6
- Parents:
- f3a605be (diff), b4d6252 (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
rf3a605be r5c5117c 37 37 38 38 #include "stdlib.h" 39 #include " common.h"39 #include "internal/common.h" 40 40 41 41 /** … … 77 77 78 78 /** 79 * 79 * Converts a string representation of a floating-point number to 80 * its native representation. See posix_strtold(). 81 * 80 82 * @param nptr 81 83 * @param endptr … … 84 86 float posix_strtof(const char *restrict nptr, char **restrict endptr) 85 87 { 86 // TODO 87 not_implemented(); 88 return (float) posix_strtold(nptr, endptr); 88 89 } 89 90 90 91 /** 91 * 92 * Converts a string representation of a floating-point number to 93 * its native representation. See posix_strtold(). 94 * 92 95 * @param nptr 93 96 * @param endptr … … 96 99 double posix_strtod(const char *restrict nptr, char **restrict endptr) 97 100 { 98 // TODO 99 not_implemented(); 100 } 101 102 /** 103 * 104 * @param nptr 105 * @param endptr 106 * @return 107 */ 108 long double posix_strtold(const char *restrict nptr, char **restrict endptr) 109 { 110 // TODO 111 not_implemented(); 101 return (double) posix_strtold(nptr, endptr); 112 102 } 113 103
Note:
See TracChangeset
for help on using the changeset viewer.