Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!dog.ee.lbl.gov!elf.ee.lbl.gov!torek From: torek@elf.ee.lbl.gov (Chris Torek) Newsgroups: comp.lang.c Subject: Re: prototypes, NULL, and magic Message-ID: <11697@dog.ee.lbl.gov> Date: 2 Apr 91 19:40:48 GMT References: <1991Mar20.174710.4405@zoo.toronto.edu> <11202@dog.ee.lbl.gov> <1490@sheol.UUCP> <15588@smoke.brl.mil> <1561@sheol.UUCP> Reply-To: torek@elf.ee.lbl.gov (Chris Torek) Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 16 X-Local-Date: Tue, 2 Apr 91 11:40:48 PST In article <1561@sheol.UUCP> throopw@sheol.UUCP (Wayne Throop) writes: >So, specifically: under the upcoming BSD release, with prototypes in >scope, is it really safe to use unadorned NULL to terminate a >variable argument list a-la execl(2) family as Chris seemed to >imply (but did not explicitly state)? Oh, is *that* what you meant? Of course the answer is `no' .. >More generally, with prototypes in scope, are there any but the default >promotions which occur for arguments referenced by the "..." argument >specifier? ... because the answer to this is (perforce) `no'. -- In-Real-Life: Chris Torek, Lawrence Berkeley Lab CSE/EE (+1 415 486 5427) Berkeley, CA Domain: torek@ee.lbl.gov