summaryrefslogtreecommitdiff
path: root/embed.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2001-12-22 18:38:18 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-23 00:12:51 +0000
commit02fc2eeebe0e138f51e361717ee5d2258b2c13d0 (patch)
tree4d273de2088a121cb6c4abb5b9820309389105ee /embed.pl
parent1ed8eac0dfbbdc6acb022ff1733a2473c102328b (diff)
downloadperl-02fc2eeebe0e138f51e361717ee5d2258b2c13d0.tar.gz
socketpair emulation
Message-ID: <20011222183817.A12020@Bagpuss.unfortu.net> p4raw-id: //depot/perl@13858
Diffstat (limited to 'embed.pl')
-rwxr-xr-xembed.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed.pl b/embed.pl
index adbfcc38ed..b881828d11 100755
--- a/embed.pl
+++ b/embed.pl
@@ -2353,6 +2353,9 @@ Apd |STRLEN |sv_utf8_upgrade_flags|SV *sv|I32 flags
Apd |char* |sv_pvn_force_flags|SV* sv|STRLEN* lp|I32 flags
Apd |char* |sv_2pv_flags |SV* sv|STRLEN* lp|I32 flags
Ap |char* |my_atof2 |const char *s|NV* value
+#if !defined(HAS_SOCKETPAIR) && defined(HAS_SOCKET)
+Ap |int |my_socketpair |int family|int type|int protocol|int fd[2]
+#endif
END_EXTERN_C