View Single Post
Old 08-19-2002, 05:42 AM   #8 (permalink)
sdeming
Code Monkey
 
Join Date: Jul 2002
Location: Michigan
Posts: 85
sdeming is on a distinguished road
void * is used all over the place.

Look at memcpy(), memset(), and many of the other string.h functions. Also look at libdl and the dlsym() functions that rely on void *'s.

When used to define the return value of a function, "void" simply means what everyone has said: "I will not be returning anything." The use of void as a return value is only one small part of why it exists though.
__________________
Scott
B4 09 BA 09 01 CD 21 CD 20 53 63 6F 74 74 24
sdeming is offline   Reply With Quote