Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>sysconf</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
sysconf
=======

Syntax
------

     #include <unistd.h>
     
     long sysconf(int which);

Description
-----------

This function returns various system configuration values, based on
WHICH:

       case _SC_ARG_MAX:       return ARG_MAX;
       case _SC_CHILD_MAX:       return CHILD_MAX;
       case _SC_CLK_TCK:       return CLOCKS_PER_SEC;
       case _SC_NGROUPS_MAX:       return NGROUPS_MAX;
       case _SC_OPEN_MAX:       return 255;
       case _SC_JOB_CONTROL:       return -1;
       case _SC_SAVED_IDS:       return -1;
       case _SC_STREAM_MAX:       return _POSIX_STREAM_MAX;
       case _SC_TZNAME_MAX:       return TZNAME_MAX;
       case _SC_VERSION:       return _POSIX_VERSION;

Return Value
------------

The value.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson