bug in SYS V Rel. 2 documentation

R. Curtis Jackson rcj at clyde.UUCP
Tue Oct 16 04:59:17 AEST 1984


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



More information about the Comp.lang.c mailing list