diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-09-04 19:26:37 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-09-04 19:26:37 +0200 |
commit | 6710971e4dfd9acebf9cbe03d907a6e4c460d803 (patch) | |
tree | dce345566a3863957d1f4de89c99074cfc970b03 | |
parent | implement use of pool (diff) | |
download | mds-6710971e4dfd9acebf9cbe03d907a6e4c460d803.tar.gz mds-6710971e4dfd9acebf9cbe03d907a6e4c460d803.tar.bz2 mds-6710971e4dfd9acebf9cbe03d907a6e4c460d803.tar.xz |
doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/libmdsclient/inbound.c | 3 | ||||
-rw-r--r-- | src/libmdsclient/inbound.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/libmdsclient/inbound.c b/src/libmdsclient/inbound.c index 58251fd..401f959 100644 --- a/src/libmdsclient/inbound.c +++ b/src/libmdsclient/inbound.c @@ -85,6 +85,9 @@ void libmds_message_destroy(libmds_message_t* restrict this) * on it before you call `free` on it. However, you cannot use * this is an `libmds_message_t` array (libmds_message_t*), only * in an `libmds_message_t*` array (libmds_message_t**). + * + * @throws ENOMEM Out of memory. Possibly, the process hit the RLIMIT_AS or + * RLIMIT_DATA limit described in getrlimit(2). */ libmds_message_t* libmds_message_duplicate(libmds_message_t* restrict this, libmds_mpool_t* restrict pool) { diff --git a/src/libmdsclient/inbound.h b/src/libmdsclient/inbound.h index 85d2fcc..5f5c53b 100644 --- a/src/libmdsclient/inbound.h +++ b/src/libmdsclient/inbound.h @@ -237,6 +237,9 @@ void libmds_message_destroy(libmds_message_t* restrict this); * on it before you call `free` on it. However, you cannot use * this is an `libmds_message_t` array (libmds_message_t*), only * in an `libmds_message_t*` array (libmds_message_t**). + * + * @throws ENOMEM Out of memory. Possibly, the process hit the RLIMIT_AS or + * RLIMIT_DATA limit described in getrlimit(2). */ __attribute__((nonnull(1), malloc, warn_unused_result)) libmds_message_t* libmds_message_duplicate(libmds_message_t* restrict this, libmds_mpool_t* restrict pool); |