Richard Bos <> wrote:
> (markus) wrote:
> > The question I have is: How do you determine which system calls are
> > available on any Unix/Linux machine?
You don't. It's none of your business. It's the C library's business to
interface between you and the system calls.
But if you wanted to, you would read the kernel's syscall
implementation list in the source code.
> > The same question goes for determening available C library functions
> > on any Unix/Linux machine?
> If the computer has a conforming C implementation, _all_ C library
> functions must be available; otherwise it simply isn't a C
> implementation.
Well, whther the functions work or not also enters into it. However ...
> As for determining what is present, that's OS-specific, hence off-topic
> on comp.lang.c.
In the last 20 years, I have never seen anything that is on topic on
comp.lang.c, which is why I have avoided going there like the plague
during the last 20 years. If you want language lawyery, it's an
excellent place to hang out and pick nits.
It's sort of like Wittgenstein. Anything you asked him he told you was
some other disciplines kind of problem, not philosophy.
Peter