Nice() in Sys V.4

Not Marc Spencer goehring at gnu.ai.mit.edu
Tue Mar 26 05:34:57 AEST 1991


In article <11393 at dog.ee.lbl.gov> torek at elf.ee.lbl.gov (Chris Torek) writes:

   Whoop!  Whoop!  Confusion alert!

   Does this mean `the argument p should be a null-pointer-to-char', or
   does it mean `the argument p should be a pointer-to-char holding the
   address of an int whose value is zero', or does it mean something else?

   It is impossible for p to have the `value ... zero' because p is a
   pointer---Pointers Are Not Integers---but this means we must guess at
   what was really meant.

0, cast to any pointer type, is a valid pointer, by definition.
--
		  Help stamp out vi in our lifetime!
	Scott Goehring			goehring at gnu.ai.mit.edu
	On exile in Indianapolis, IN



More information about the Comp.unix.programmer mailing list