Changes in uspace/lib/posix/locale.c [a12f7f1:324d46b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/locale.c
ra12f7f1 r324d46b 30 30 * @{ 31 31 */ 32 /** @file Locale-specific definitions.32 /** @file 33 33 */ 34 34 … … 41 41 #include "limits.h" 42 42 #include "string.h" 43 44 // TODO: documentation45 43 46 44 struct __posix_locale { … … 75 73 }; 76 74 77 /**78 *79 * @param category80 * @param locale81 * @return82 */83 75 char *posix_setlocale(int category, const char *locale) 84 76 { … … 91 83 } 92 84 93 /**94 *95 * @return96 */97 85 struct posix_lconv *posix_localeconv(void) 98 86 { … … 101 89 } 102 90 103 /**104 *105 * @param locobj106 * @return107 */108 91 posix_locale_t posix_duplocale(posix_locale_t locobj) 109 92 { … … 121 104 } 122 105 123 /**124 *125 * @param locobj126 */127 106 void posix_freelocale(posix_locale_t locobj) 128 107 { 129 if (locobj) { 130 free(locobj); 131 } 108 free(locobj); 132 109 } 133 110 134 /**135 *136 * @param category_mask137 * @param locale138 * @param base139 * @return140 */141 111 posix_locale_t posix_newlocale(int category_mask, const char *locale, 142 112 posix_locale_t base) … … 159 129 } 160 130 161 /** 162 * 163 * @param newloc 164 * @return 165 */ 166 posix_locale_t posix_uselocale(posix_locale_t newloc) 131 posix_locale_t posix_uselocale (posix_locale_t newloc) 167 132 { 168 133 // TODO
Note:
See TracChangeset
for help on using the changeset viewer.