lkml.org 
[lkml]   [1996]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: _SC_* gone?
Date
From
>>>>> "CP" == Carlos Puchol <cpg@cs.utexas.edu> writes:

CP> /* The following table is generated from all _SC_ values * in
CP> unistd.h.

Taking a look at <unistd.h>, I see:

/* Get the `_PC_*' symbols for the NAME argument to `pathconf' and
`fpathconf'; the `_SC_*' symbols for the NAME argument to
`sysconf'; and the `_CS_*' symbols for the NAME argument to
`confstr'. */
#include <confname.h>

Evidently, the sml tries to pull the values out, but doesn't follow
the include. Even if they did, it probably wouldn't have worked
since confname.h uses an enum to define them. I'm not sure how you
could get them in an automated way....

--
Alan Shutko <ats@hubert.wustl.edu> - The Few, the Proud, the Remaining.
Silver and gold make even pigs seem clean.


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.068 / U:4.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site