This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Where is random()?


Fergus Henderson <fjh@cs.mu.OZ.AU> writes:
> This is true.  However, if you're going to choose a set of man pages
> to learn from, the Debian Linux ones are actually not too bad, because
> most of the man pages have a "CONFORMING TO" section which states
> which standard(s) support the function(s) in question. 
> 
> > `random' is not standard ANSI nor is it part of POSIX.
> 
> Right.  For random(), the Debian Linux man page states the following:
> 
> 	CONFORMING TO
> 	       BSD 4.3
> 

Point well taken. However the folks who notice this are the ones who
actually look for it, and it's typically folks who are already familiar 
with portability issues and have a copy of various standards sitting 
close by. Sounds convoluted, but hopefully you get my point.

If you peruse the postings that ask for this various routines, you'll
notice the usual line -- "but my linux box has it, there's even an man
page on it ...", but very few seem to go to the end of the man page and
see the CONFORMING TO section. This section should be at the *top* of
the man pages, not at the bottom.

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]