iPXE
Functions
ctype.c File Reference

Character types. More...

#include <ctype.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
int isspace (int character)
 Check to see if character is a space.

Detailed Description

Character types.

Definition in file ctype.c.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
int isspace ( int  character)

Check to see if character is a space.

Parameters:
characterCharacter
Return values:
isspaceCharacter is a space

Definition at line 41 of file ctype.c.

Referenced by base64_decode(), cmdline_init(), http_parse_header(), http_token(), peerdist_discovery_reply_values(), pnm_ascii(), pnm_probe(), previous_word(), process_script(), script_probe(), split_command(), strtoul_pre(), and syslog_fix_name().

                              {

        switch ( character ) {
        case ' ' :
        case '\f' :
        case '\n' :
        case '\r' :
        case '\t' :
        case '\v' :
                return 1;
        default:
                return 0;
        }
}