Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!mordor!lll-tis!ptsfa!ihnp4!ihdev!pdg From: pdg@ihdev.ATT.COM (Joe Isuzu) Newsgroups: comp.lang.c Subject: Re: Function prototypes versus open() Message-ID: <1466@ihdev.ATT.COM> Date: Mon, 29-Jun-87 13:33:23 EDT Article-I.D.: ihdev.1466 Posted: Mon Jun 29 13:33:23 1987 Date-Received: Wed, 1-Jul-87 00:36:24 EDT References: <18346@ucbvax.BERKELEY.EDU> <8042@utzoo.UUCP> <2210@hoptoad.uucp> <1125@copper.TEK.COM> <821@mcgill-vision.UUCP> Reply-To: pdg@ihdev.UUCP (Joe Isuzu) Organization: American Nasal Amputation Centre Lines: 19 In article <821@mcgill-vision.UUCP> mouse@mcgill-vision.UUCP (der Mouse) writes: >Well, I don't know about the AT&T implementation, but the BSD open() >most emphatically does not have an optional third argument! It has >three, exactly three, arguments. I'll just add this for completeness. According to SVID, the open call is: int open(path,oflag,mode) Three arguments, none optional. Now everybody go back and change all of the code you have ever written. :-} -- Paul Guthrie "Another day, another Jaguar" ihnp4!ihdev!pdg -- Pat Sajak