Topic : C-Language Documentation Author : John Kormylo Version : C.HYP 1.0 Subject : Documentation/C-Language Nodes : 233 Index Size : 6362 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : en @default : @help : Help @options : +g -i -s +x +z -t4 @width : 75 View Ref-File[ Data Types: void ] Void functions do not have return values: void write_eof(FILE* fd) { putc(0x1a, fd); /* writes end-of-file */ } Functions which have no parameters must use '(void)' instead of '()' in their prototype and definition (ANSI C): long systime(void); /* reads system clock */ Void pointers can be converted to and from any other type of pointer with no warning messages or casting: int copy_anything(int size, void *from, void *to); There is no such thing as a void variable, and void pointers cannot be incremented. sizeof(void) == 0