Re: _SC_* gone?

Alan Shutko (ats@shep1.wustl.edu)
Thu, 25 Jul 1996 23:08:40 -0500


>>>>> "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.