Changeset 63fc519 in mainline
- Timestamp:
- 2011-06-18T23:24:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ee9692
- Parents:
- 6128390
- Location:
- uspace/lib/posix
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/Makefile
r6128390 r63fc519 43 43 stdio.c \ 44 44 stdlib.c \ 45 stdlib/strtold.c \ 45 46 string.c \ 46 47 strings.c \ -
uspace/lib/posix/stdlib.c
r6128390 r63fc519 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.