Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!groucho.ucar.edu!russ From: russ@groucho.ucar.edu (Russ Rew) Newsgroups: comp.lang.c Subject: arithmetic on void pointers Message-ID: <1527@ncar.ucar.edu> Date: 6 Mar 89 20:13:33 GMT Sender: news@ncar.ucar.edu Reply-To: russ@groucho.UUCP (Russ Rew) Organization: Unidata/UCAR, Boulder Lines: 10 GNU C supports arithmetic on void pointers, but the manual implies that this is an extension to the C language. I could find no prohibition on arithmetic on void pointers in K&R second edition. What does the latest dpANS document say? Is it legal to increment a variable of type void* ? -- Russ Rew UCAR, P.O. Box 3000 INTERNET: russ@unidata.UCAR.EDU Boulder, CO 80307 UUCP: russ@scdpyr.UUCP (303) 497-8845