summaryrefslogtreecommitdiff
path: root/ace/ACE.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2002-07-05 20:16:44 +0000
committerSteve Huston <shuston@riverace.com>2002-07-05 20:16:44 +0000
commit22851418adfdaeb5534434389093142f242dabd1 (patch)
tree27ec541309a941b38ece0bb4ed8ce48f94015408 /ace/ACE.h
parent5d1f93de1be52aa5fea50319b11667466c578d47 (diff)
downloadATCD-22851418adfdaeb5534434389093142f242dabd1.tar.gz
ChangeLogTag:Fri Jul 5 16:14:51 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/ACE.h')
-rw-r--r--ace/ACE.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/ace/ACE.h b/ace/ACE.h
index 1948ef3f590..fd98e2fc190 100644
--- a/ace/ACE.h
+++ b/ace/ACE.h
@@ -185,7 +185,16 @@ public:
const ACE_Time_Value *timeout = 0,
size_t *bytes_transferred = 0);
- /// Varargs variant.
+ /// Receive into a variable number of pieces.
+ /**
+ * Accepts a variable, caller-specified, number of pointer/length
+ * pairs. Arguments following @a n are char *, size_t pairs.
+ *
+ * @arg handle The I/O handle to receive on
+ * @arg n The total number of char *, size_t pairs following @a n.
+ *
+ * @return -1 on error, else total number of bytes received.
+ */
static ssize_t recv (ACE_HANDLE handle, size_t n, ...);
static ssize_t recvv (ACE_HANDLE handle,