str: hkl Reference Manual

## str str |

## Functions

#define | streq()
#define | strstarts()
#define | stringify()
#define | stringify_1()
size_t | strcount ()
#define | STR_MAX_CHARS()
#define | STR_MAX_CHARS_TCHECK_()
return | isalnum ()
return | isalpha ()
return | isascii ()
return | isblank ()
return | iscntrl ()
return | isdigit ()
return | isgraph ()
return | islower ()
return | isprint ()
return | ispunct ()
return | isspace ()
return | isupper ()
return | isxdigit ()
#define | str_check_arg_()
#define | strstr()
#define | strchr()
#define | strrchr()

## Description

## Functions

### streq()

    #define streq(a,b) (strcmp((a),(b)) == 0)

### strstarts()

    #define strstarts(str,prefix) (strncmp((str),(prefix),strlen(prefix)) == 0)

### stringify()

    #define stringify(expr)		stringify_1(expr)

### stringify_1()

    #define stringify_1(expr) #expr

### strcount ()

    size_t
    strcount (const char *haystack,
              const char *needle);

### STR_MAX_CHARS()

    #define             STR_MAX_CHARS(type_or_expr)

### STR_MAX_CHARS_TCHECK_()

    #define             STR_MAX_CHARS_TCHECK_(type_or_expr)

### isalnum ()

    return
    isalnum ();

### isalpha ()

    return
    isalpha ();

### isascii ()

    return
    isascii ();

### isblank ()

    return
    isblank ();

### iscntrl ()

    return
    iscntrl ();

### isdigit ()

    return
    isdigit ();

### isgraph ()

    return
    isgraph ();

### islower ()

    return
    islower ();

### isprint ()

    return
    isprint ();

### ispunct ()

    return
    ispunct ();

### isspace ()

    return
    isspace ();

### isupper ()

    return
    isupper ();

### isxdigit ()

    return
    isxdigit ();

### str_check_arg_()

    #define             str_check_arg_(i)

### strstr()

    #define             strstr(haystack, needle)

### strchr()

    #define             strchr(haystack, c)

### strrchr()

    #define             strrchr(haystack, c)

## Types and Values