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
commite58d42f9a38b764887cb1a8ca22f0c09e1f64f8b (patch)
tree4d273de2088a121cb6c4abb5b9820309389105ee /embed.pl
parentf501bf7d0c4a1a829bfc8e0344e1ddef8b236953 (diff)
downloadperl-e58d42f9a38b764887cb1a8ca22f0c09e1f64f8b.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