Defines |
| #define | _LONGLONG_DEF |
| #define | itoa(z, buff, base) lltoa((long long)z,buff,base) |
| | Convert int to a string with specific base.
|
| #define | utoa(z, buff, base) ulltoa((unsigned long long)z,buff,base) |
| #define | strupr(str) upper(str,str) |
| #define | atoi(str) ((int)atoll_base(str,10)) |
| #define | atoi_base(str, base) ((int)atoll_base(str,base)) |
| #define | atoui(str) ((unsigned int)atoull_base(str,10)) |
| #define | atoui_base(str, base) ((unsigned int)atoull_base(str,base)) |
| #define | atoll(str) atoll_base(str,10) |
| #define | atoll_base(str, base) atoll_base(str,base) |
| #define | atoull(str) ((unsigned long long)atoll_base(str,10)) |
| #define | atoull_base(str, base) ((unsigned long long)atoll_base(str,base)) |
Typedefs |
| typedef unsigned long long | ULONGLONG |
| typedef long long | LONGLONG |
Functions |
| int | strlen (const char *s) |
| | Length of s.
|
| char * | strcpy (char *dest, const char *src) |
| | Copy source to destination.
|
| char * | strncpy (char *dest, const char *src, size_t n) |
| | Copy n chars of src in dest.
|
| char * | strcat (char *dest, const char *src) |
| | Append source after enf of destination. */.
|
| int | strcmp (register const char *s1, register const char *s2) |
| | Compare s1 and s2 (<0 ==0 or >0)
|
| int | strncmp (const char *s1, const char *s2, int num) |
| | Compare n chars of s1 and s2 (<0 ==0 or >0)
|
| char * | lltoa (LONGLONG, char *, int base) |
| char * | ulltoa (ULONGLONG, char *, int base) |
| char * | upper (char *t, const char *s) |
| char * | strset (char *s, int fill) |
| | Set a string to a constant char fill or random in ['a'..'z'] if fill is zero.
|
| char * | str_unquote (char *s, char c) |
| char * | strdup (const char *s) |
| char * | lower (char *t, const char *s) |
| char * | __dtoa (double x, char *buf, char exp_sym) |
| char * | xpad (char *t, char *s, int n, int left, char c) |
| LONGLONG | atoll_base (const char *, int base) |
| char * | _str2ull (const char *number, unsigned long long *result, int base) |
| double | atof (const char *) |
| void * | memcpy (void *out, const void *in, int n) |
| void | memcpyw (void *dest, const void *source, int nwords) |
| void * | memset (char *dest, int C, int LENGTH) |
| void | memsetw (void *dest, int value, int nwords) |
| void * | memmove (void *_dest, const void *_source, size_t nbytes) |
| char * | strchr (const char *s, int c) |
| char * | strncat (char *s1, const char *s2, size_t n) |
| char * | strrchr (const char *s, int c) |
| size_t | strcspn (const char *s1, const char *s2) |
| char * | strpbrk (const char *s1, const char *s2) |
| char * | strtok (char *s1, const char *s2) |
| char * | strstr (const char *s1, const char *s2) |
| size_t | strspn (const char *s1, const char *s2) |
Standard String functions.
Definition in file string.h.