NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO
#include <am/aconf.h>int aconf(int name);
ACTOR_EXTENDED_MGMT
The aconf() function provides a method for the application to determine the current value of configurable system limits, modules or options (variables) defined by the ChorusOS 4.0 AM.
The name argument represents the system variable/module to be queried. The symbolic constants used for name are defined in <am/aconf.h> and appear in the table that follows.
Variable name | Value |
---|---|
AMDS | _AC_M_AMDS Dump module. |
ARG_MAX | _AC_C_ARG_MAX Maximum length of arguments for the exec functions, in bytes, including environment. |
Other values may be obtained by using sysctl(3POSIX) for values defined by the IOM, or by using sysconf(3POSIX).
If name is an invalid value, aconf() returns -1.
Otherwise, aconf() returns the current variable value on the system. The value does not change during the lifetime of the calling actor. If name corresponds to an AM module, aconf() returns 1 if the module is present, or 0 if the module is not present.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO