diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-04-11 23:22:33 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-05-05 21:21:32 -0500 |
commit | 10c3cdac03aa3ccbeb00ba96b237c69db831364f (patch) | |
tree | dbc5a07d639d1e0cc091ad4d8fb251c5e26095aa /src | |
parent | f5f55d6589940fd2c2188d76686efe3a530e64e0 (diff) | |
download | musl-10c3cdac03aa3ccbeb00ba96b237c69db831364f.tar.gz musl-10c3cdac03aa3ccbeb00ba96b237c69db831364f.tar.bz2 musl-10c3cdac03aa3ccbeb00ba96b237c69db831364f.tar.xz musl-10c3cdac03aa3ccbeb00ba96b237c69db831364f.zip |
sysconf: Add _SC_XOPEN_UUCP
We definitely don't /support/ UUCP, so return -1 for it.
But this value is required to be present in <unistd.h>.
Diffstat (limited to 'src')
-rw-r--r-- | src/conf/sysconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf/sysconf.c b/src/conf/sysconf.c index 60d3e745..20d91de7 100644 --- a/src/conf/sysconf.c +++ b/src/conf/sysconf.c @@ -168,9 +168,9 @@ long sysconf(int name) [_SC_XOPEN_STREAMS] = JT_ZERO, [_SC_THREAD_ROBUST_PRIO_INHERIT] = -1, [_SC_THREAD_ROBUST_PRIO_PROTECT] = -1, - [_SC_MINSIGSTKSZ] = JT_MINSIGSTKSZ, [_SC_SIGSTKSZ] = JT_SIGSTKSZ, + [_SC_XOPEN_UUCP] = -1, }; if (name >= sizeof(values)/sizeof(values[0]) || !values[name]) { |