aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-04-09 19:33:36 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-09 19:33:36 +0000
commit3db97c73a2fba114bef335c31bc1e5a08a850bac (patch)
tree4cafecfbf4cb69577bd1acb528db7d5e5b119c79
parent2f526fb4d1d9221fc06d72d71264e287192a5085 (diff)
parente5bd239ba14ce3bb816b52f32f4725770e2c1c1d (diff)
downloadbionic-3db97c73a2fba114bef335c31bc1e5a08a850bac.tar.gz
Merge "Add NGROUPS." into main
-rw-r--r--libc/include/sys/param.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/include/sys/param.h b/libc/include/sys/param.h
index 79ae06737..1c991aefc 100644
--- a/libc/include/sys/param.h
+++ b/libc/include/sys/param.h
@@ -41,8 +41,11 @@
/** The unit of `st_blocks` in `struct stat`. */
#define DEV_BSIZE 512
-/** A historical name for PATH_MAX. */
-#define MAXPATHLEN PATH_MAX
+/** A historical name for PATH_MAX. Use PATH_MAX in new code. */
+#define MAXPATHLEN PATH_MAX
+
+/** A historical name for NGROUPS_MAX. Use NGROUPS_MAX in new code. */
+#define NGROUPS NGROUPS_MAX
#define MAXSYMLINKS 8