|
DAS
3.0
Das Analysis System
|
#include <stddef.h>
#include <ctype.h>
#include "strnatcmp.h"
◆ compare_left()
◆ compare_right()
84 }
else if (!*a && !*b)
◆ nat_isdigit()
44 return isdigit((
unsigned char) a);
◆ nat_isspace()
51 return isspace((
unsigned char) a);
◆ nat_toupper()
58 return toupper((
unsigned char) a);
◆ strnatcasecmp()
◆ strnatcmp()
◆ strnatcmp0()
119 int fractional, result;
123 ca = a[ai]; cb = b[bi];
134 fractional = (ca ==
'0' || cb ==
'0');
static int nat_isspace(nat_char a)
Definition: strnatcmp.c:49
char nat_char
Definition: strnatcmp.h:31
static int compare_left(nat_char const *a, nat_char const *b)
Definition: strnatcmp.c:93
static nat_char nat_toupper(nat_char a)
Definition: strnatcmp.c:56
static int nat_isdigit(nat_char a)
Definition: strnatcmp.c:42
static int compare_right(nat_char const *a, nat_char const *b)
Definition: strnatcmp.c:63
static int strnatcmp0(nat_char const *a, nat_char const *b, int fold_case)
Definition: strnatcmp.c:115