Hrvoje, > Better yet, the limited space available in a man page should be spent > documenting the API Linux does support. For example, it could mention > that RAND_MAX is not 32767, unlike many other systems. It could > mention that RAND_MAX+1 causes an overflow on Linux, breaking poorly > written code. It could mention that rand(3) should *never* be used > for cryptographic purposes. It could mention that standard library > functions do not influence the sequence of numbers returned by rand. > It could document the period of the random number generator, or that > ISO C requires the period to be at least 2**32, if the period is > considered an implementation detail and not part of the API.
Patches to the man page covering these points would indeed be very welcome. Thanks, Michael -- Michael Kerrisk maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 Want to help with man page maintenance? Grab the latest tarball at ftp://ftp.win.tue.nl/pub/linux-local/manpages/ and grep the source files for 'FIXME'. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]