1gnutls_record_check_pending(3) gnutls gnutls_record_check_pending(3)
2
3
4
6 gnutls_record_check_pending - checks if there are any data to receive
7 in gnutls buffers.
8
10 #include <gnutls/gnutls.h>
11
12 size_t gnutls_record_check_pending(gnutls_session_t session);
13
15 gnutls_session_t session
16 is a gnutls_session_t structure.
17
19 This function checks if there are any data to receive in the gnutls
20 buffers. Returns the size of that data or 0. Notice that you may also
21 use select() to check for data in a TCP connection, instead of this
22 function. (gnutls leaves some data in the tcp buffer in order for
23 select to work).
24
26 Report bugs to <bug-gnutls@gnu.org>.
27
29 Copyright © 2006 Free Software Foundation.
30 Permission is granted to make and distribute verbatim copies of this
31 manual provided the copyright notice and this permission notice are
32 preserved on all copies.
33
35 The full documentation for gnutls is maintained as a Texinfo manual.
36 If the info and gnutls programs are properly installed at your site,
37 the command
38
39 info gnutls
40
41 should give you access to the complete manual.
42
43
44
45gnutls 1.6.3 gnutls_record_check_pending(3)