[vala] posix: Add recv() function binding.
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] posix: Add recv() function binding.
- Date: Fri, 11 Feb 2011 08:24:10 +0000 (UTC)
commit 54f786ce54e2ced7893bbf1caea94bf4dbdf5733
Author: Stefano Debenedetti <ste demaledetti net>
Date: Fri Feb 11 09:10:20 2011 +0100
posix: Add recv() function binding.
Fixes bug 641785.
vapi/posix.vapi | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index a6a17bd..c2e0e89 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1285,6 +1285,8 @@ namespace Posix {
[CCode (cheader_filename = "sys/socket.h")]
public int listen (int sfd, int backlog);
[CCode (cheader_filename = "sys/socket.h")]
+ public ssize_t recv (int sockfd, void *buf, size_t len, int flags);
+ [CCode (cheader_filename = "sys/socket.h")]
public ssize_t send (int sockfd, void* buf, size_t len, int flags);
[CCode (cheader_filename = "sys/socket.h", sentinel = "")]
public ssize_t sendto (int sockfd, void* buf, size_t len, int flags, ...);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]