Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!uunet!mtndew!friedl From: friedl@mtndew.Tustin.CA.US (Stephen Friedl) Newsgroups: comp.lang.c Subject: Re: Parameter mismatch legality question Message-ID: <571@mtndew.Tustin.CA.US> Date: 18 Nov 90 16:41:34 GMT References: <1990Nov15.224353.155@mozart.amd.com> <14486@smoke.brl.mil> <14502@smoke.brl.mil> Organization: VSI*FAX Tech Ctr, Tustin, CA Lines: 18 In article <14502@smoke.brl.mil>, gwyn@smoke.brl.mil (Doug Gwyn) writes: > > IEEE 1003.1 decided that open() had to be officially variadic, i.e. > extern int open( const char *path, int flags, ... ); > Since this requires ANSI C support, you're best off if you let > declare open() for you. Unless of course you are IBM building the RS6000, where the prototype in omits the /const/ type qualifier on the pathname. Mighty nice of them not to burden us with qualifiers, eh? Steve :-( -- Stephen J. Friedl, KA8CMY / I speak for me only / Tustin, CA / 3B2-kind-of-guy +1 714 544 6561 / friedl@mtndew.Tustin.CA.US / {uunet,attmail}!mtndew!friedl "Gcc compiles an interesting language which is not ANSI C." - Henry Spencer