Keil™, An ARM® Company

Cx51 User's Guide

void

The void data type defines functions with no return value, functions with no argument list, and pointers to objects of an undefined type. It is used as follows:

void function-name (argument-list);
return-type function-name (void);
void *name;

Where

function-nameis the name of the a function.
argument-listis the arguments passed to the function.
return-typeis the return type of the function.
nameis the pointer to the void object(s).

Refer to 2-Byte Scalars for information regarding the format of int types.