Document POSIX descriptor zero exception in socket close
This commit is contained in:
1 parent
346c06f31d
commit
00819654cf
1 file changed
+1
@@ -52,6 +52,7 @@ void socket_platform_cleanup(void);
|
||||
// Socket operations
|
||||
socket_t socket_create_udp(int family);
|
||||
int socket_set_nonblocking(socket_t sock);
|
||||
/* Закрыть сокет средствами ОС; на POSIX sock=0 оставляет дескриптор открытым и возвращает 0. */
|
||||
int socket_close_wrapper(socket_t sock);
|
||||
static inline int socket_get_error(void) {
|
||||
#ifdef _WIN32
|
||||
|
||||
Reference in new issue
Block a user