Z88DK Library


<assert.h>

void assert(int expression);

assert() prints an error message to standard output and terminates the program if expression is false. This only happens when the macro NDEBUG was undefined when <assert.h> was included.

<ctype.h>

extern int isalpha(int c);
extern int isalnum(int c);
extern int isascii(int c);
extern int iscntrl(int c);
extern int isdigit(int c);
extern int isupper(int c);
extern int islower(int c);
extern int isprint(int c);
extern int ispunct(int c);
extern int isspace(int c);
extern int isxdigit(int c);

isalnum() checks for an alphanumeric character
isalpha() checks for an alphabetic character
isascii() checks whether c is a 7-bit unsigned char value that fits into the ASCII character set
iscntrl() checks for a control character (i.e c < 32 )
isdigit() checks for a digit (0 to 9)
isupper() checks for an upper-case character
islower() checks for a lower-case character
isprint() checks for any printable character including space
ispunct() checks for punctuation character
isspace() checks for a white space character
isxdigit() checks for a hexadecimal digit i.e. one of 1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,a,b,c,d,e,f


extern int toascii(int c);
extern int toupper(int c);
extern int tolower(int c);

toascii() converts the c into a 7-bit ASCII character
toupper() converts the letter c into an upper-case character if possible
tolower() converts the letter c into a lower-case character if possible.

<fcntl.h>

<float.h>

<limits.h>

<malloc.h>

<math.h>

<setjmp.h>

<stdarg.h>

<stdio.h>

<stdlib.h>

extern int system(char *command);
Executes an external command. This is only available for z88 shell programs.

<string.h>

<time.h>

<sys/types.h>

Ostensibly defines a set of standard types for the compiler. The most useful are:

u8_t 		Unsigned 8 bit number
u16_t Unsigned 16 bit number
u32_t Unsigned 32 bit number

i8_t Signed 8 bit number
i16_t Signed 16 bit number
i32_t Signed 32 bit number


z88dk /library.html
Last Updated 20/1/2002 dom