Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!ncar!gatech!prism!roy From: roy@prism.gatech.EDU (Roy Mongiovi) Newsgroups: comp.std.c Subject: Re: call to revolt Message-ID: <31822@hydra.gatech.EDU> Date: 26 Jun 91 15:07:38 GMT References: <992@baby.and.nl> <4363@uc.msc.umn.edu> Organization: Georgia Institute of Technology Lines: 23 Well, while I can think of easy ways to code around it, they involve extra data movement. I fail to see why the following should be categorically outlawed: char *intptr; intptr = malloc(sizeof(int)); read(fd, intptr, sizeof(int)); *((int *) intptr)++; . . . Admittedly, I can't think of a really great reason why I might want to do that, but one of the major things that I like about C is that the programmer is the boss. -- Roy J. Mongiovi Systems Support Specialist Office of Computing Services Georgia Institute of Technology Atlanta, Georgia 30332-0275 (404) 894-4660 uucp: ...!{allegra,amd,hplabs,ut-ngp}!gatech!prism!roy ARPA: roy@prism.gatech.edu