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. More...
 

Detailed Description

Character types.

Definition in file ctype.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ isspace()

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.

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

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().