•  Back 
  •  System functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File5.15.14  Sysconf                                                   TOS

 Name:         »Sysconf« - Obtain information about the operating 
               system configuration.

 Opcode:       290

 Syntax:       int32_t Sysconf ( int16_t n );

 Description:  The function Sysconf returns information about the 
               capabilities (or the configuration) of the operating 
               system. With the parameter n various values can be 
               interrogated:

                n   Meaning

                -1  Max. legal value for n itself
                0   Max. value of memory regions per process
                1   Max. length of command line string for Pexec
                2   Max. number of open files per process
                3   Max. number of supplementary groups per process
                4   Max. number pf processes per user

               A return value of 0xfffffff (2^31 - 1) means that the 
               corresponding value is unlimited.

 Return value: Return value: The function returns the information 
               specified by the parameter n.

 Availability: As of the first in MultiTOS integrated MiNT version 
               1.04.

 Group:        System functions

 See also:     Binding   Dpathconf