MCPcopy Create free account
hub / github.com/esnet/iperf / get_decimal_point

Function get_decimal_point

src/cjson.c:288–296  ·  view source on GitHub ↗

get the decimal point character of the current locale */

Source from the content-addressed store, hash-verified

286
287/* get the decimal point character of the current locale */
288static unsigned char get_decimal_point(void)
289{
290#ifdef ENABLE_LOCALES
291 struct lconv *lconv = localeconv();
292 return (unsigned char) lconv->decimal_point[0];
293#else
294 return '.';
295#endif
296}
297
298typedef struct
299{

Callers 2

parse_numberFunction · 0.85
print_numberFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…