iPXE
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)
 FILE_SECBOOT (PERMITTED)
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()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ isspace()

int isspace ( int character)

Check to see if character is a space.

Parameters
characterCharacter
Return values
isspaceCharacter is a space

Definition at line 42 of file ctype.c.

42 {
43
44 switch ( character ) {
45 case ' ' :
46 case '\f' :
47 case '\n' :
48 case '\r' :
49 case '\t' :
50 case '\v' :
51 return 1;
52 default:
53 return 0;
54 }
55}

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