1gnutls_record_check_pending(3) gnutls gnutls_record_check_pending(3)
2
3
4
6 gnutls_record_check_pending - API function
7
9 #include <gnutls/gnutls.h>
10
11 size_t gnutls_record_check_pending(gnutls_session_t session);
12
14 gnutls_session_t session
15 is a gnutls_session_t type.
16
18 This function checks if there are unread data in the gnutls buffers. If
19 the return value is non-zero the next call to gnutls_record_recv() is
20 guaranteed not to block.
21
23 Returns the size of the data or zero.
24
26 Report bugs to <bugs@gnutls.org>.
27 Home page: http://www.gnutls.org
28
29
31 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright
34 notice and this notice are preserved.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
39 visit
40
41 http://www.gnutls.org/manual/
42
43gnutls 3.6.5 gnutls_record_check_pending(3)