summaryrefslogtreecommitdiff
path: root/pod/perlapi.pod
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2009-04-02 23:09:01 +0100
committerDavid Mitchell <davem@iabyn.com>2009-04-02 23:09:01 +0100
commiteb53357261107ec40e8c517666330fc71276b6fb (patch)
treeb471091052443cd9381d720b4474afe16430b0f0 /pod/perlapi.pod
parente9fd6cc75e3a6bbac72b6b457dc1d06afe6eaf95 (diff)
downloadperl-eb53357261107ec40e8c517666330fc71276b6fb.tar.gz
document PERL_SYS_INIT, PERL_SYS_TERM and that they should only be used once
Diffstat (limited to 'pod/perlapi.pod')
-rw-r--r--pod/perlapi.pod44
1 files changed, 44 insertions, 0 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod
index 0687604d28..7498939e8d 100644
--- a/pod/perlapi.pod
+++ b/pod/perlapi.pod
@@ -1207,6 +1207,50 @@ Found in file mathoms.c
=back
+=head1 Functions in file perl.h
+
+
+=over 8
+
+=item PERL_SYS_INIT
+X<PERL_SYS_INIT>
+
+Provides system-specific tune up of the C runtime environment necessary to
+run Perl interpreters. This should be called only once, before creating
+any Perl interpreters.
+
+ void PERL_SYS_INIT(int argc, char** argv)
+
+=for hackers
+Found in file perl.h
+
+=item PERL_SYS_INIT3
+X<PERL_SYS_INIT3>
+
+Provides system-specific tune up of the C runtime environment necessary to
+run Perl interpreters. This should be called only once, before creating
+any Perl interpreters.
+
+ void PERL_SYS_INIT3(int argc, char** argv, char** env)
+
+=for hackers
+Found in file perl.h
+
+=item PERL_SYS_TERM
+X<PERL_SYS_TERM>
+
+Provides system-specific clean up of the C runtime environment after
+running Perl interpreters. This should be called only once, after
+freeing any remaining Perl interpreters.
+
+ void PERL_SYS_TERM()
+
+=for hackers
+Found in file perl.h
+
+
+=back
+
=head1 Functions in file pp_ctl.c