#include <cstdarg>
#include <cctype>
#include <cstring>
#include "CStrUtil.h"
Go to the source code of this file.
|
int | STREQ (const char *x, const char *y) |
|
char * | ssave (const char *const str) |
|
void | sfree (char *str) |
|
void | smove (char **old, char *fresh) |
|
static char * | strcpye (register char *s1, register char *s2) |
|
char * | nssave (int n, const char *const s1,...) |
|
int | find (char s1[], char s2[]) |
|
int | char_count (char s1[], char s2[]) |
|
int | hash_string (register const char *string, int size) |
|
char * | strlower (char *string) |
|
char * | strupper (char *string) |
|
char | to_lower (char c) |
|
void | itoa (long n, char a[]) |
|
void | utoa (unsigned long n, char a[]) |
|
void | ultohex (unsigned long n, char a[]) |
|
◆ char_count()
int char_count |
( |
char |
s1[], |
|
|
char |
s2[] |
|
) |
| |
◆ find()
int find |
( |
char |
s1[], |
|
|
char |
s2[] |
|
) |
| |
◆ hash_string()
int hash_string |
( |
register const char * |
string, |
|
|
int |
size |
|
) |
| |
◆ itoa()
void itoa |
( |
long |
n, |
|
|
char |
a[] |
|
) |
| |
◆ nssave()
char* nssave |
( |
int |
n, |
|
|
const char *const |
s1, |
|
|
|
... |
|
) |
| |
◆ sfree()
◆ smove()
void smove |
( |
char ** |
old, |
|
|
char * |
fresh |
|
) |
| |
◆ ssave()
char* ssave |
( |
const char *const |
str | ) |
|
◆ strcpye()
static char* strcpye |
( |
register char * |
s1, |
|
|
register char * |
s2 |
|
) |
| |
|
static |
◆ STREQ()
int STREQ |
( |
const char * |
x, |
|
|
const char * |
y |
|
) |
| |
◆ strlower()
char* strlower |
( |
char * |
string | ) |
|
◆ strupper()
char* strupper |
( |
char * |
string | ) |
|
◆ to_lower()
◆ ultohex()
void ultohex |
( |
unsigned long |
n, |
|
|
char |
a[] |
|
) |
| |
◆ utoa()
void utoa |
( |
unsigned long |
n, |
|
|
char |
a[] |
|
) |
| |