On 11/28/2010 06:43 PM, Bruno Haible wrote:
> The declaration of sysinfo on all three platforms (Solaris, IRIX, OSF/1) is:
>   int sysinfo(int, char *, long);

Ah, sorry, I was relying on the Solaris man page, which says it
returns "long".

http://docs.sun.com/app/docs/doc/816-5167/sysinfo-2

Since it actually returns 'int' the patch is fine.

> > It's private, not deprecated.
> OK, let me write "discouraged". I don't know about the nuances between these
terms.

"Deprecated" means the interface is still there and still works
but may be removed in a future release and new applications should
use a better interface.  "Private" means the interface exists
but its behavior is undocumented and cannot be relied on, even in
this release.  "Discouraged" is also a term used in Sun man pages;
it means "you shouldn't do this" without necessarily explaining why.

Reply via email to