diff options
author | Steven Barth <steven@midlink.org> | 2009-02-27 14:51:37 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-02-27 14:51:37 +0000 |
commit | 7196b2cd848577f640d9268a0a34ab3ad8706c26 (patch) | |
tree | 94b74ea2ba96fdc6135c6af807e925f064a2db28 /libs/nixio/src/io.c | |
parent | 30421d38dd004a8c1e149e40af2019cbbc4c8bd6 (diff) |
nixio: Fixes, use POSIX calls for file i/o
httpclient: resume support, splice() support, cookie support
Diffstat (limited to 'libs/nixio/src/io.c')
-rw-r--r-- | libs/nixio/src/io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/nixio/src/io.c b/libs/nixio/src/io.c index b33746121..3727f8c02 100644 --- a/libs/nixio/src/io.c +++ b/libs/nixio/src/io.c @@ -169,6 +169,8 @@ static const luaL_reg M[] = { {"sendto", nixio_sock_sendto}, {"recv", nixio_sock_recv}, {"recvfrom",nixio_sock_recvfrom}, + {"write", nixio_sock_send}, + {"read", nixio_sock_recv}, {NULL, NULL} }; |