diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/conf.texi | 21 | ||||
-rw-r--r-- | manual/creature.texi | 6 |
2 files changed, 27 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 diff --git a/manual/creature.texi b/manual/creature.texi index 31208ccb2b..5090735e4f 100644 --- a/manual/creature.texi +++ b/manual/creature.texi @@ -258,6 +258,12 @@ checks are applied. If defined to @math{3}, @theglibc{} may also use checks that may have an additional performance overhead. @end defvr +@defvr Macro _SC_SIGSTKSZ_SOURCE +@standards{GNU, (none)} +If this macro is defined, correct (but non compile-time constant) +MINSIGSTKSZ and SIGSTKSZ are defined. +@end defvr + @defvr Macro _REENTRANT @defvrx Macro _THREAD_SAFE @standards{Obsolete, (none)} |