roken: Unparse wider ints

This commit is contained in:
Nicolas Williams
2021-12-17 13:17:59 -06:00
committed by Luke Howard
parent fc76c83ab1
commit 686d5116de
7 changed files with 238 additions and 100 deletions

View File

@@ -46,13 +46,13 @@
#endif
#endif
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
parse_bytes (const char *s, const char *def_unit);
ROKEN_LIB_FUNCTION ssize_t ROKEN_LIB_CALL
parse_bytes(const char *s, const char *def_unit);
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
unparse_bytes (int t, char *s, size_t len);
unparse_bytes(ssize_t t, char *s, size_t len);
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
unparse_bytes_short (int t, char *s, size_t len);
unparse_bytes_short(ssize_t t, char *s, size_t len);
#endif /* __PARSE_BYTES_H__ */