diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-24 09:08:14 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-24 09:08:14 +0000 |
commit | 412d7f2ac8b8d226b5ba373178f4ce457f246032 (patch) | |
tree | 5d40559954953eb83597801cd35f4302925f0080 /perlapi.c | |
parent | 05b4157f6fee2ece5589511f927d566b229523f9 (diff) | |
download | perl-412d7f2ac8b8d226b5ba373178f4ce457f246032.tar.gz |
add rsignal(), whichsig() and do_join() to public API list
(mod_perl uses them to good advantage)
p4raw-id: //depot/perl@5932
Diffstat (limited to 'perlapi.c')
-rw-r--r-- | perlapi.c | 25 |
1 files changed, 23 insertions, 2 deletions
@@ -616,9 +616,9 @@ Perl_dounwind(pTHXo_ I32 cxix) #undef Perl_do_binmode int -Perl_do_binmode(pTHXo_ PerlIO *fp, int iotype, int flag) +Perl_do_binmode(pTHXo_ PerlIO *fp, int iotype, int mode) { - return ((CPerlObj*)pPerl)->Perl_do_binmode(fp, iotype, flag); + return ((CPerlObj*)pPerl)->Perl_do_binmode(fp, iotype, mode); } #undef Perl_do_close @@ -632,6 +632,13 @@ Perl_do_close(pTHXo_ GV* gv, bool not_implicit) #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) #endif +#undef Perl_do_join +void +Perl_do_join(pTHXo_ SV* sv, SV* del, SV** mark, SV** sp) +{ + ((CPerlObj*)pPerl)->Perl_do_join(sv, del, mark, sp); +} + #undef Perl_do_open bool Perl_do_open(pTHXo_ GV* gv, char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp) @@ -2343,6 +2350,13 @@ Perl_rninstr(pTHXo_ const char* big, const char* bigend, const char* little, con { return ((CPerlObj*)pPerl)->Perl_rninstr(big, bigend, little, lend); } + +#undef Perl_rsignal +Sighandler_t +Perl_rsignal(pTHXo_ int i, Sighandler_t t) +{ + return ((CPerlObj*)pPerl)->Perl_rsignal(i, t); +} #if !defined(HAS_RENAME) #endif @@ -3366,6 +3380,13 @@ Perl_vwarner(pTHXo_ U32 err, const char* pat, va_list* args) { ((CPerlObj*)pPerl)->Perl_vwarner(err, pat, args); } + +#undef Perl_whichsig +I32 +Perl_whichsig(pTHXo_ char* sig) +{ + return ((CPerlObj*)pPerl)->Perl_whichsig(sig); +} #if defined(USE_PURE_BISON) #else #endif |