66 lines
2.3 KiB
C
Executable File
66 lines
2.3 KiB
C
Executable File
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
|
/* All Rights Reserved */
|
|
|
|
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
|
/* The copyright notice above does not evidence any */
|
|
/* actual or intended publication of such source code. */
|
|
|
|
|
|
#ifndef _SYS_SYSCONFIG_H
|
|
#define _SYS_SYSCONFIG_H
|
|
|
|
#pragma ident "@(#)sysconfig.h 1.15 94/02/16 SMI" /* SVr4.0 1.5 */
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* cmd values for _sysconfig system call.
|
|
* WARNING: This is an undocumented system call,
|
|
* therefore future compatibility can not
|
|
* guaranteed.
|
|
*/
|
|
|
|
#define UNUSED 1
|
|
#define _CONFIG_NGROUPS 2 /* # configured supplemental groups */
|
|
#define _CONFIG_CHILD_MAX 3 /* max # of processes per uid session */
|
|
#define _CONFIG_OPEN_FILES 4 /* max # of open files per process */
|
|
#define _CONFIG_POSIX_VER 5 /* POSIX version */
|
|
#define _CONFIG_PAGESIZE 6 /* system page size */
|
|
#define _CONFIG_CLK_TCK 7 /* ticks per second */
|
|
#define _CONFIG_XOPEN_VER 8
|
|
|
|
/*
|
|
* NOTE: XOPEN VERSION. This is process dependant. The kernel will return
|
|
* the default value, currently 3.
|
|
*/
|
|
|
|
#define _CONFIG_PROF_TCK 10 /* profiling ticks per second */
|
|
#define _CONFIG_NPROC_CONF 11 /* processors configured */
|
|
#define _CONFIG_NPROC_ONLN 12 /* processors online */
|
|
|
|
/* posix dot4 names */
|
|
#define _CONFIG_AIO_LISTIO_MAX 13 /* # of operation in a list I/O call */
|
|
#define _CONFIG_AIO_MAX 14 /* # of outstanding async I/O op. */
|
|
#define _CONFIG_AIO_PRIO_DELTA_MAX 15 /* amount I/O priority decrease */
|
|
#define _CONFIG_DELAYTIMER_MAX 16 /* timer timer expiration overruns */
|
|
#define _CONFIG_MQ_OPEN_MAX 17 /* # message queues open per process */
|
|
#define _CONFIG_MQ_PRIO_MAX 18 /* # of message priorities supported */
|
|
#define _CONFIG_RTSIG_MAX 19 /* # of realtime signal numbers */
|
|
#define _CONFIG_SEM_NSEMS_MAX 20 /* No. of semaphore per process */
|
|
#define _CONFIG_SEM_VALUE_MAX 21 /* max. value a semaphore may have */
|
|
#define _CONFIG_SIGQUEUE_MAX 22 /* # of pending queued signal */
|
|
#define _CONFIG_SIGRT_MIN 23 /* first highest-pri realtime signal */
|
|
#define _CONFIG_SIGRT_MAX 24 /* last realtime signal */
|
|
#define _CONFIG_TIMER_MAX 25 /* # of timers per process */
|
|
|
|
#define _CONFIG_PHYS_PAGES 26 /* phys mem installed in pages */
|
|
#define _CONFIG_AVPHYS_PAGES 27 /* available phys mem in pages */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _SYS_SYSCONFIG_H */
|