Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site clyde.UUCP Path: utzoo!watmath!clyde!rcj From: rcj@clyde.UUCP (R. Curtis Jackson) Newsgroups: net.bugs.usg,net.lang.c,net.unix-wizards Subject: bug in SYS V Rel. 2 documentation Message-ID: <617@clyde.UUCP> Date: Mon, 15-Oct-84 14:59:17 EDT Article-I.D.: clyde.617 Posted: Mon Oct 15 14:59:17 1984 Date-Received: Tue, 16-Oct-84 05:12:23 EDT Distribution: net Organization: AT&T Bell Laboratories Whippany NJ Lines: 20 In the USG (AT&T) Unix System V Release 2 Programmer Reference Manual lists the calling sequence for setvbuf(3S) [under setbuf(3S)] as: int setvbuf (stream, buf, type, size) the actual code, however, is looking for: int setvbuf (stream, type, buf, size) This problem will be reported to the Unix Hotline shortly. Oh, another one just cropped up as well: the documentation for lex(1) in the Release 2 Support Tools Guide shows ';' after the REJECT macro call in all of their examples; but the code will not compile if you put ';' after REJECT. WHY WHY WHY WHY WHY WHY WHY do they release faulty documentation????? The MAD Programmer -- 919-228-3313 (Cornet 291) alias: Curtis Jackson ...![ ihnp4 ulysses cbosgd we13 ]!burl!rcj ...![ ihnp4 cbosgd akgua masscomp ]!clyde!rcj