diff options
author | David Mitchell <davem@iabyn.com> | 2009-04-02 23:09:01 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2009-04-02 23:09:01 +0100 |
commit | eb53357261107ec40e8c517666330fc71276b6fb (patch) | |
tree | b471091052443cd9381d720b4474afe16430b0f0 /perl.h | |
parent | e9fd6cc75e3a6bbac72b6b457dc1d06afe6eaf95 (diff) | |
download | perl-eb53357261107ec40e8c517666330fc71276b6fb.tar.gz |
document PERL_SYS_INIT, PERL_SYS_TERM and that they should only be used once
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -2680,6 +2680,25 @@ typedef struct clone_params CLONE_PARAMS; # define PERL_SYS_INIT3_BODY(argvp,argcp,envp) PERL_SYS_INIT_BODY(argvp,argcp) #endif +/* +=for apidoc Am|void|PERL_SYS_INIT|int argc|char** argv +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. + +=for apidoc Am|void|PERL_SYS_INIT3|int argc|char** argv|char** env +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. + +=for apidoc Am|void|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. + +=cut + */ + #define PERL_SYS_INIT(argc, argv) Perl_sys_init(argc, argv) #define PERL_SYS_INIT3(argc, argv, env) Perl_sys_init3(argc, argv, env) #define PERL_SYS_TERM() Perl_sys_term() |