1MONGOC_SOCKET_ERRNO(3) MongoDB C Driver 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.13.1 Jan 24, 2019 MONGOC_SOCKET_ERRNO(3)