1MONGOC_SOCKET_ERRNO(3)             libmongoc            MONGOC_SOCKET_ERRNO(3)
2
3
4

NAME

6       mongoc_socket_errno - mongoc_socket_errno()
7

SYNOPSIS

9          int
10          mongoc_socket_errno (mongoc_socket_t *sock);
11

PARAMETERS

13sock: A mongoc_socket_t.
14

DESCRIPTION

16       This  function  returns the currently captured errno for a socket. This
17       may be useful to check was the last errno was  after  another  function
18       call has been made that clears the threads errno variable.
19

RETURNS

21       0 if there is no error, otherwise a specific errno.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.20.0                           Nov 18, 2021           MONGOC_SOCKET_ERRNO(3)
Impressum