MCPcopy Create free account
hub / github.com/coreutils/coreutils / valid_suffix

Function valid_suffix

src/numfmt.c:241–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239static char const *valid_suffixes = 1 + zero_and_valid_suffixes;
240
241static inline bool
242valid_suffix (const char suf)
243{
244 return strchr (valid_suffixes, suf) != NULL;
245}
246
247static inline int
248suffix_power (const char suf)

Callers 1

simple_strtod_humanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected