VLC  2.2.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
charset.c File Reference
Include dependency graph for charset.c:

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.

Function Documentation

int us_asprintf ( char **  ret,
const char *  format,
  ... 
)

us_asprintf() has the same prototype as asprintf(), but doesn't use the system locale.

References us_vasprintf().

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_InheritURational(), var_OptionParse(), and vlc_audio_replay_gain_MergeFromMeta().

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().

Referenced by main(), and us_atof().

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().