summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/os.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2022-03-11-17-56-25.bpo-46968.pPVvNo.rst1
-rw-r--r--Modules/posixmodule.c3
3 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 234ea32..6dffc45 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -4755,6 +4755,9 @@ Miscellaneous System Information
.. availability:: Unix.
+ .. versionchanged:: 3.11
+ Add ``'SC_MINSIGSTKSZ'`` name.
+
The following data values are used to support path manipulation operations. These
are defined for all platforms.
diff --git a/Misc/NEWS.d/next/Library/2022-03-11-17-56-25.bpo-46968.pPVvNo.rst b/Misc/NEWS.d/next/Library/2022-03-11-17-56-25.bpo-46968.pPVvNo.rst
new file mode 100644
index 0000000..f526fa3
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-03-11-17-56-25.bpo-46968.pPVvNo.rst
@@ -0,0 +1 @@
+Add ``os.sysconf_names['SC_MINSIGSTKSZ']``.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 3431c85..700cbd2 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -12346,6 +12346,9 @@ static struct constdef posix_constants_sysconf[] = {
#ifdef _SC_XOPEN_XPG4
{"SC_XOPEN_XPG4", _SC_XOPEN_XPG4},
#endif
+#ifdef _SC_MINSIGSTKSZ
+ {"SC_MINSIGSTKSZ", _SC_MINSIGSTKSZ},
+#endif
};
static int