diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-01-25 08:28:13 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-01-25 08:33:30 +0100 |
commit | 5de4b3d1f6b2b68b35cb689a1c964f71a63134c1 (patch) | |
tree | f594099512b2b88f1f5a7317845bfceb09b96bb0 /lib/system.c | |
parent | 6e591e4b10d92ad9d1435416014bc092fad861f4 (diff) | |
download | gnutls-5de4b3d1f6b2b68b35cb689a1c964f71a63134c1.tar.gz |
doc update
Diffstat (limited to 'lib/system.c')
-rw-r--r-- | lib/system.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/system.c b/lib/system.c index 4753301fda..cace67163c 100644 --- a/lib/system.c +++ b/lib/system.c @@ -132,10 +132,11 @@ system_read(gnutls_transport_ptr_t ptr, void *data, size_t data_size) * @ms: The number of milliseconds to wait. * * Wait for data to be received from the provided socket (@ptr) within a - * timeout period in milliseconds. + * timeout period in milliseconds, using select() on the provided @ptr. * * This function is provided as a helper for constructing custom - * callbacks for gnutls_transport_set_pull_timeout_function(). + * callbacks for gnutls_transport_set_pull_timeout_function(), + * which can be used if you rely on socket file descriptors. * * Returns -1 on error, 0 on timeout, positive value if data are available for reading. * |