Sysconf
Section: Oct. 1, 1991
(2)
Updated: MiNT Programmer's Manual
Index
Return to Main Contents
NAME
Sysconf - get information about operating system configuration
SYNOPSIS
LONG Sysconf( WORD n );
DESCRIPTION
Sysconf
returns information about various limits or capabilities of the currently
running version of MiNT. The variable
n
controls which limit or capability is being queried, as follows:
n Value Returned
-1 return max. legal value for n in Sysconf(n)
0 return max. number of memory regions per process
1 return max. length of Pexec() command line string
2 return max. number of open files per process
3 return number of supplementary group id's
4 return max. number of processes per user
If any of these items are unlimited, then 0x7fffffffL is returned.
SEE ALSO
Dpathconf(2)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 16:01:23 GMT, March 03, 2023