summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-04-08 19:46:36 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-04-08 19:47:31 +0200
commit259278197b6bfcadf333cda9e98ac330f88057f0 (patch)
tree9c3ef12594ed9dc15619d97e71cd1175c2608cc5
parente98b244c87a6a91caa8b506937f6c545388a8c7a (diff)
downloadgnutls-259278197b6bfcadf333cda9e98ac330f88057f0.tar.gz
doc: Replace references to select with poll and other fixes
-rw-r--r--doc/cha-gtls-app.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/cha-gtls-app.texi b/doc/cha-gtls-app.texi
index 3fe37a1ae4..276be647af 100644
--- a/doc/cha-gtls-app.texi
+++ b/doc/cha-gtls-app.texi
@@ -800,11 +800,11 @@ The only exception is @funcref{gnutls_record_send},
which if interrupted subsequent calls need not to include the data to be
sent (can be called with NULL argument).
-When using the @funcintref{select} system call though, one should remember
-that it is only applicable to the kernel sockets API. To check for any
-available buffers in a @acronym{GnuTLS} session,
+When using the @funcintref{poll} or @funcintref{select} system calls though, one should remember
+that they only apply to the kernel sockets API. To check for any
+available buffered data in a @acronym{GnuTLS} session,
utilize @funcref{gnutls_record_check_pending},
-either before the @funcintref{select} system call, or after a call to
+either before the @funcintref{poll} system call, or after a call to
@funcref{gnutls_record_recv}. Data queued by @funcref{gnutls_record_send}
(when interrupted) can be discarded using @funcref{gnutls_record_discard_queued}.
@@ -921,8 +921,8 @@ protocol, this field allows distinguishing out-of-order messages.
The @funcref{gnutls_record_check_pending} helper function is available to
allow checking whether data are available to be read in a @acronym{GnuTLS} session
-buffers. Note that this function complements but does not replace @funcintref{select},
-i.e., @funcref{gnutls_record_check_pending} reports no data to be read, @funcintref{select}
+buffers. Note that this function complements but does not replace @funcintref{poll},
+i.e., @funcref{gnutls_record_check_pending} reports no data to be read, @funcintref{poll}
should be called to check for data in the network buffers.
@showfuncdesc{gnutls_record_check_pending}