summaryrefslogtreecommitdiffstats
path: root/lisplib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-04-14 07:09:38 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-04-14 07:09:38 -0700
commit82a11e883049d6578b0301b61603e088dc89773f (patch)
tree89a15fb1317ab3880a3e2a0289f7bc529d0b816a /lisplib.c
parentb25b55d0d935a9b995e3596ec06ab6378ff931e8 (diff)
downloadtxr-82a11e883049d6578b0301b61603e088dc89773f.tar.gz
txr-82a11e883049d6578b0301b61603e088dc89773f.tar.bz2
txr-82a11e883049d6578b0301b61603e088dc89773f.zip
New open-socket-pair function.
* lisplib.c (sock_set_entries): Add open-socket-pair to autoload list. * socket.c (sock_mark_connected, socketpair_wrap): New static functions. (sock_load_init): Register open-socket-pair intrinsic. * txr.1: Documented.
Diffstat (limited to 'lisplib.c')
-rw-r--r--lisplib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisplib.c b/lisplib.c
index 80b79e45..1c1d4d29 100644
--- a/lisplib.c
+++ b/lisplib.c
@@ -292,6 +292,7 @@ static val sock_set_entries(val dlt, val fun)
lit("ai-numericserv"),
lit("str-inaddr"), lit("str-in6addr"),
lit("str-inaddr-net"), lit("str-in6addr-net"),
+ lit("open-socket-pair"),
nil
};
set_dlt_entries(dlt, name, fun);