commit | 9bb0864170ee4cf31c3efed2d96c0ebd0b258c75 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jan 28 07:29:11 2025 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Jan 28 07:29:11 2025 -0800 |
tree | 517ef5826a599deab7cc536bcd41748bf182ce88 | |
parent | d597a90b4bf8441b779b1500bed7c7d0dc66a97a [diff] [blame] |
Add POSIX 2024 NSIG_MAX. https://www.austingroupbugs.net/view.php?id=741 Change-Id: I89117528e1ed8ab0f922bfa394fab16003070eab
diff --git a/libc/include/limits.h b/libc/include/limits.h index 5c0ef6d..3220415 100644 --- a/libc/include/limits.h +++ b/libc/include/limits.h
@@ -96,6 +96,12 @@ /** Maximum value of a ssize_t. */ #define SSIZE_MAX LONG_MAX +/** + * POSIX 2024's name for NSIG. + * See the NSIG documentation for an explanation and warnings. + */ +#define NSIG_MAX 65 + /** Maximum number of bytes in a multibyte character. */ #define MB_LEN_MAX 4