yingf (01/02/83)
what is the type "void" means in C ? I don't find it in the K&R book. and... how many other types are there which are not in the C book ?
sjb (01/02/83)
I believe 'void' is used to declare functions that do not return anything. This is to please lint.
stewart (01/03/83)
After having some problems with type "void", I contacted our local language supporters and found out that the proper use is "void int". Just using "void" is usually OK, but it won't work in some circumstances (i.e. function pointers, etc.).
bernie (01/13/83)
Type "void" is used in the Whitesmiths' (and possibly other) implementations to denote a function that does not return an object of any particular type.