delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/17/03:37:55

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: Where is random()?
17 Dec 1998 03:37:55 -0800 :
Message-ID: <199812162309.RAA15768.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <19981216031216 DOT 63576 AT murlibobo DOT cs DOT mu DOT OZ DOT AU>
To: Fergus Henderson <fjh AT cs DOT mu DOT OZ DOT AU>
Cc: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>

Fergus Henderson <fjh AT cs DOT mu DOT OZ DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019