diff options
Diffstat (limited to 'manual/conf.texi')
-rw-r--r-- | manual/conf.texi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/manual/conf.texi b/manual/conf.texi index f959b00bb6..ba9847aaa4 100644 --- a/manual/conf.texi +++ b/manual/conf.texi @@ -913,6 +913,27 @@ Inquire about the parameter corresponding to @code{NL_SETMAX}. @item _SC_NL_TEXTMAX @standards{X/Open, unistd.h} Inquire about the parameter corresponding to @code{NL_TEXTMAX}. + +@item _SC_MINSIGSTKSZ +@standards{GNU, unistd.h} +Inquire about the minimum number of bytes of free stack space required +in order to guarantee successful, non-nested handling of a single signal +whose handler is an empty function. + +@item _SC_SIGSTKSZ +@standards{GNU, unistd.h} +Inquire about the suggested minimum number of bytes of stack space +required for a signal stack. + +This is not guaranteed to be enough for any specific purpose other than +the invocation of a single, non-nested, empty handler, but nonetheless +should be enough for basic scenarios involving simple signal handlers +and very low levels of signal nesting (say, 2 or 3 levels at the very +most). + +This value is provided for developer convenience and to ease migration +from the legacy @code{SIGSTKSZ} constant. Programs requiring stronger +guarantees should avoid using it if at all possible. @end vtable @node Examples of Sysconf |