This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Where is random()?
- To: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Subject: Re: Where is random()?
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Wed, 16 Dec 1998 17:09:40 -0600
- cc: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>
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".