Go to the source code of this file.
Macros | |
#define | CTLESC '\001' |
#define | CTLNUL '\177' |
#define | ESC '\033' |
#define | TOUPPER(c) (islower(c) ? toupper(c) : (c)) |
#define | TOCTRL(x) (TOUPPER(x) & 037) |
#define | ISOCTAL(c) ((c) >= '0' && (c) <= '7') |
#define | OCTVALUE(c) ((c) - '0') |
#define | ISDIGIT(c) ((c) >= '0' && (c) <= '9') |
#define | ISXDIGIT(c) (ISDIGIT((c)) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) |
#define | HEXVALUE(c) |
Functions | |
char * | ansicstr (const char *string, int len, int flags, int *sawc, int *rlen) |
#define CTLESC '\001' |
Definition at line 16 of file ansicstr.c.
#define CTLNUL '\177' |
Definition at line 17 of file ansicstr.c.
#define ESC '\033' |
Definition at line 18 of file ansicstr.c.
#define HEXVALUE | ( | c | ) |
Definition at line 26 of file ansicstr.c.
#define ISDIGIT | ( | c | ) | ((c) >= '0' && (c) <= '9') |
Definition at line 23 of file ansicstr.c.
#define ISOCTAL | ( | c | ) | ((c) >= '0' && (c) <= '7') |
Definition at line 21 of file ansicstr.c.
Definition at line 24 of file ansicstr.c.
#define OCTVALUE | ( | c | ) | ((c) - '0') |
Definition at line 22 of file ansicstr.c.
#define TOCTRL | ( | x | ) | (TOUPPER(x) & 037) |
Definition at line 20 of file ansicstr.c.
#define TOUPPER | ( | c | ) | (islower(c) ? toupper(c) : (c)) |
Definition at line 19 of file ansicstr.c.
char * ansicstr | ( | const char * | string, |
int | len, | ||
int | flags, | ||
int * | sawc, | ||
int * | rlen | ||
) |
Definition at line 32 of file ansicstr.c.
References CTLESC, CTLNUL, ESC, HEXVALUE, ISOCTAL, ISXDIGIT, OCTVALUE, TOCTRL, TRACEENTER, and TRACEEXIT.
Referenced by HDD_FindMountPointDevice().