RTEMS Logo

RTEMS 4.9.3 On-Line Library


Process Environment Manager sysconf - Get Configurable System Variables

PREV UP next Bookshelf RTEMS POSIX API User's Guide

3.4.23: sysconf - Get Configurable System Variables

CALLING SEQUENCE:

long sysconf(
  int name
);

STATUS CODES:

The value returned is the actual value of the system resource. If the requested configuration name is a feature flag, then 1 is returned if the available and 0 if it is not. On any other error condition, -1 is returned.

DESCRIPTION:

This service is the mechanism by which an application determines values for system limits or options at runtime.

NOTES:

Much of the information that may be obtained via sysconf has equivalent macros in <unistd.h. However, those macros reflect conservative limits which may have been altered by application configuration.


PREV UP next Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2008 OAR Corporation