void vs void* (philosophical question)



According to the standard (ISO C99 draft WG14/N1124), void is the
incomplete type that cannot be completed and comprises the empty set of
values. Since it declares the absense of a value can it be considered a
data type?

Regarding void*, is it just a simple reuse of the same keyword (void) or
they have a closer relationship? I could think of only one - a pointer
to an incomplete type. However, if one could say that void is the
absense of a value, how can we have a pointer to something that does not
exist?


--
one's freedom stops where others' begin

Giannis Papadopoulos
Computer and Communications Engineering dept. (CCED)
University of Thessaly
http://dop.freegr.net/
.



Relevant Pages

  • Re: Types
    ... and a floating point number, and even an integer and a complex number. ... pointer, for double we have double pointer, etc. ... *, i.e. pointers to void. ... An incomplete type is missing some part of the declaration. ...
    (comp.lang.c)
  • Re: 5.3: cant install openoffice 1.1 from ports
    ... > to install gnome2.8, which im using know, great. ... before "void" ... pointer to incomplete type ...
    (freebsd-questions)
  • UInaqble to install OpenOffice 1.1.3 from porte, 5.3R
    ... Im running 5.3R and i've cvsuped ports to get gnome 2.8 running which went fine. ... before "void" ... pointer to incomplete type ...
    (freebsd-hackers)
  • Re: void vs void* (philosophical question)
    ... Regarding void*, is it just a simple reuse of the same keyword ... to an incomplete type. ... absense of a value, how can we have a pointer to something that does not ...
    (comp.lang.c)
  • Re: void vs void* (philosophical question)
    ... Regarding void*, is it just a simple reuse of the same keyword or ... I could think of only one - a pointer ... to an incomplete type. ... struct person ...
    (comp.lang.c)