Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/str.h

    rdcb74c0a rd47279b  
    4848#define STR_BOUNDS(length)  ((length) << 2)
    4949
    50 /**
    51  * Maximum size of a buffer needed to a string converted from space-padded
    52  * ASCII of size @a spa_size using spascii_to_str().
    53  */
    54 #define SPASCII_STR_BUFSIZE(spa_size) ((spa_size) + 1)
    55 
    5650extern wchar_t str_decode(const char *str, size_t *offset, size_t sz);
    5751extern int chr_encode(const wchar_t ch, char *str, size_t *offset, size_t sz);
     
    7973extern void str_append(char *dest, size_t size, const char *src);
    8074
    81 extern int spascii_to_str(char *dest, size_t size, const uint8_t *src, size_t n);
    8275extern void wstr_to_str(char *dest, size_t size, const wchar_t *src);
    8376extern char *wstr_to_astr(const wchar_t *src);
     
    9689extern int str_size_t(const char *, char **, unsigned int, bool, size_t *);
    9790
    98 extern void order_suffix(const uint64_t, uint64_t *, char *);
    99 extern void bin_order_suffix(const uint64_t, uint64_t *, const char **, bool);
     91extern void order_suffix(const uint64_t val, uint64_t *rv, char *suffix);
    10092
    10193/*
Note: See TracChangeset for help on using the changeset viewer.