diff options
author | Karl Williamson <khw@cpan.org> | 2022-05-02 15:20:57 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-05-09 06:42:29 -0600 |
commit | 8e1434e1a40194e9b09ec9b092690dab81e55dc5 (patch) | |
tree | bcb6bc27f497f4c507952df1141b959ad617ae46 /util.c | |
parent | 5aae66637e18faf5dc1ed0459b4d9e6a8861b5ee (diff) | |
download | perl-8e1434e1a40194e9b09ec9b092690dab81e55dc5.tar.gz |
perlapi: Document my_popen, my_pclose
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -2818,6 +2818,17 @@ Perl_my_popen_list(pTHX_ const char *mode, int n, SV **args) /* VMS' my_popen() is in VMS.c, same with OS/2 and AmigaOS 4. */ #if (!defined(DOSISH) || defined(HAS_FORK)) && !defined(VMS) && !defined(__LIBCATAMOUNT__) && !defined(__amigaos4__) + +/* +=for apidoc_section $io +=for apidoc my_popen + +A wrapper for the C library L<popen(3)>. Don't use the latter, as the Perl +version knows things that interact with the rest of the perl interpreter. + +=cut +*/ + PerlIO * Perl_my_popen(pTHX_ const char *cmd, const char *mode) { @@ -3252,6 +3263,17 @@ Perl_rsignal_restore(pTHX_ int signo, Sigsave_t *save) #endif /* !PERL_MICRO */ /* VMS' my_pclose() is in VMS.c */ + +/* +=for apidoc_section $io +=for apidoc my_pclose + +A wrapper for the C library L<pclose(3)>. Don't use the latter, as the Perl +version knows things that interact with the rest of the perl interpreter. + +=cut +*/ + #if (!defined(DOSISH) || defined(HAS_FORK)) && !defined(VMS) && !defined(__LIBCATAMOUNT__) && !defined(__amigaos4__) I32 Perl_my_pclose(pTHX_ PerlIO *ptr) |