1MONGOC_SOCKET_ERRNO(3) libmongoc MONGOC_SOCKET_ERRNO(3)
2
3
4
6 mongoc_socket_errno - mongoc_socket_errno()
7
9 int
10 mongoc_socket_errno (mongoc_socket_t *sock);
11
13 • sock: A mongoc_socket_t.
14
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
21 0 if there is no error, otherwise a specific errno.
22
24 MongoDB, Inc
25
27 2017-present, MongoDB, Inc
28
29
30
31
321.17.6 Jun 03, 2021 MONGOC_SOCKET_ERRNO(3)