summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlair Zajac <blair@orcaware.com>2001-12-29 14:37:03 -0800
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-30 16:19:46 +0000
commitd61b6859779b8f7b99dbf78883aa5b6ed49de6c0 (patch)
tree52385ca2e1a18406418478d07890a6b5d9651c68
parent8b4ac5a423952fb163d48c435ab6e00458e66f1f (diff)
downloadperl-d61b6859779b8f7b99dbf78883aa5b6ed49de6c0.tar.gz
POSIX to understand _SC_PAGESIZE
Message-ID: <3C2EB60F.BB4321DD@orcaware.com> p4raw-id: //depot/perl@13955
-rw-r--r--ext/POSIX/Makefile.PL3
-rw-r--r--ext/POSIX/POSIX.pm2
-rw-r--r--ext/POSIX/POSIX.pod2
3 files changed, 4 insertions, 3 deletions
diff --git a/ext/POSIX/Makefile.PL b/ext/POSIX/Makefile.PL
index fa705f0046..6424066b47 100644
--- a/ext/POSIX/Makefile.PL
+++ b/ext/POSIX/Makefile.PL
@@ -50,7 +50,8 @@ my @names =
X_OK _PC_CHOWN_RESTRICTED _PC_LINK_MAX _PC_MAX_CANON _PC_MAX_INPUT
_PC_NAME_MAX _PC_NO_TRUNC _PC_PATH_MAX _PC_PIPE_BUF _PC_VDISABLE
_SC_ARG_MAX _SC_CHILD_MAX _SC_CLK_TCK _SC_JOB_CONTROL _SC_NGROUPS_MAX
- _SC_OPEN_MAX _SC_SAVED_IDS _SC_STREAM_MAX _SC_TZNAME_MAX _SC_VERSION),
+ _SC_OPEN_MAX _SC_PAGESIZE _SC_SAVED_IDS _SC_STREAM_MAX _SC_TZNAME_MAX
+ _SC_VERSION),
{name=>"EXIT_FAILURE", default=>["IV", "1"]},
{name=>"EXIT_SUCCESS", default=>["IV", "0"]},
{name=>"SIG_DFL", value=>"(IV)SIG_DFL"},
diff --git a/ext/POSIX/POSIX.pm b/ext/POSIX/POSIX.pm
index 96555a5602..91427c81c1 100644
--- a/ext/POSIX/POSIX.pm
+++ b/ext/POSIX/POSIX.pm
@@ -871,7 +871,7 @@ sub load_imports {
_POSIX_JOB_CONTROL _POSIX_NO_TRUNC _POSIX_SAVED_IDS
_POSIX_VDISABLE _POSIX_VERSION _SC_ARG_MAX
_SC_CHILD_MAX _SC_CLK_TCK _SC_JOB_CONTROL
- _SC_NGROUPS_MAX _SC_OPEN_MAX _SC_SAVED_IDS
+ _SC_NGROUPS_MAX _SC_OPEN_MAX _SC_PAGESIZE _SC_SAVED_IDS
_SC_STREAM_MAX _SC_TZNAME_MAX _SC_VERSION
_exit access ctermid cuserid
dup2 dup execl execle execlp execv execve execvp
diff --git a/ext/POSIX/POSIX.pod b/ext/POSIX/POSIX.pod
index 4b727c53c1..4544a09097 100644
--- a/ext/POSIX/POSIX.pod
+++ b/ext/POSIX/POSIX.pod
@@ -1834,7 +1834,7 @@ _POSIX_ARG_MAX _POSIX_CHILD_MAX _POSIX_CHOWN_RESTRICTED _POSIX_JOB_CONTROL _POSI
=item Constants
-_SC_ARG_MAX _SC_CHILD_MAX _SC_CLK_TCK _SC_JOB_CONTROL _SC_NGROUPS_MAX _SC_OPEN_MAX _SC_SAVED_IDS _SC_STREAM_MAX _SC_TZNAME_MAX _SC_VERSION
+_SC_ARG_MAX _SC_CHILD_MAX _SC_CLK_TCK _SC_JOB_CONTROL _SC_NGROUPS_MAX _SC_OPEN_MAX _SC_PAGESIZE _SC_SAVED_IDS _SC_STREAM_MAX _SC_TZNAME_MAX _SC_VERSION
=back