1MONGOC_SOCKET_ERRNO(3) libmongoc MONGOC_SOCKET_ERRNO(3)
2
3
4
6 int
7 mongoc_socket_errno (mongoc_socket_t *sock);
8
10 • sock: A mongoc_socket_t.
11
13 This function returns the currently captured errno for a socket. This
14 may be useful to check was the last errno was after another function
15 call has been made that clears the threads errno variable.
16
18 0 if there is no error, otherwise a specific errno.
19
21 MongoDB, Inc
22
24 2017-present, MongoDB, Inc
25
26
27
28
291.25.1 Nov 08, 2023 MONGOC_SOCKET_ERRNO(3)