
Functions | |
| double | us_strtod (const char *str, char **end) |
| us_strtod() has the same prototype as ANSI C strtod() but it uses the POSIX/C decimal format, regardless of the current numeric locale. | |
| float | us_strtof (const char *str, char **end) |
| us_strtof() has the same prototype as ANSI C strtof() but it uses the POSIX/C decimal format, regardless of the current numeric locale. | |
| double | us_atof (const char *str) |
| us_atof() has the same prototype as ANSI C atof() but it expects a dot as decimal separator, regardless of the system locale. | |
| int | us_vasprintf (char **ret, const char *format, va_list ap) |
| us_vasprintf() has the same prototype as vasprintf(), but doesn't use the system locale. | |
| int | us_asprintf (char **ret, const char *format,...) |
| us_asprintf() has the same prototype as asprintf(), but doesn't use the system locale. | |
| int us_asprintf | ( | char ** | ret, | |
| const char * | format, | |||
| ... | ||||
| ) |
us_asprintf() has the same prototype as asprintf(), but doesn't use the system locale.
References ap, us_vasprintf(), va_end(), and va_start().
| double us_atof | ( | const char * | str | ) |
us_atof() has the same prototype as ANSI C atof() but it expects a dot as decimal separator, regardless of the system locale.
References us_strtod().
Referenced by config_ChainParse(), config_LoadCmdLine(), main(), var_Command(), var_InheritURational(), and var_OptionParse().
| double us_strtod | ( | const char * | str, | |
| char ** | end | |||
| ) |
us_strtod() has the same prototype as ANSI C strtod() but it uses the POSIX/C decimal format, regardless of the current numeric locale.
References freelocale(), LC_NUMERIC_MASK, newlocale(), and uselocale().
| float us_strtof | ( | const char * | str, | |
| char ** | end | |||
| ) |
us_strtof() has the same prototype as ANSI C strtof() but it uses the POSIX/C decimal format, regardless of the current numeric locale.
References freelocale(), LC_NUMERIC_MASK, newlocale(), strtof(), and uselocale().
| int us_vasprintf | ( | char ** | ret, | |
| const char * | format, | |||
| va_list | ap | |||
| ) |
us_vasprintf() has the same prototype as vasprintf(), but doesn't use the system locale.
References freelocale(), LC_NUMERIC_MASK, newlocale(), uselocale(), and vasprintf().
Referenced by httpd_MsgAdd(), and us_asprintf().
1.7.1