•  Back 
  •  GEMDOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileDpathconf()
Sysconf()                                                            GEMDOS

Syntax

LONG Sysconf( inq )
WORD inq;

Function      Sysconf() returns information about the limits or
              capabilities of the currently running version of MiNT.

Opcode        290 (0x122)

Availability  This function is available under all MiNT versions
              integrated with MultiTOS.

Parameters    inq determines the return value as follows:

              Name           inq   Return Value

              SYS_MAXINQ      -1   Maximum legal value for inq.

              SYS_MAXREGIONS   0   Maximum memory regions per process.

              SYS_MAXCOMMAND   1   Maximum length of Pexec() command
                                   string.

              SYS_MAXFILES     2   Maximum number of open files per
                                   process.

              SYS_MAXGROUPS    3   Maximum number of supplementary group
                                   ID's.

              SYS_MAXPROCS     4   Maximum number of processes per user.

Binding       move.w   inq,-(sp)
              move.w   #$122,-(sp)
              trap     #1
              addq.l   #4,sp

Return Value  See above.

Comments      If the requested item returns UNLIMITED (0x7FFFFFFF) then
              that item is unlimited.

See Also      Dpathconf()