gsasl  1.10.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL). Development version.
  Fossies Dox: gsasl-1.10.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

w32sock.h File Reference
#include <errno.h>
#include <fcntl.h>
#include <io.h>
Include dependency graph for w32sock.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define FD_TO_SOCKET(fd)   ((SOCKET) _get_osfhandle ((fd)))
#define SOCKET_TO_FD(fh)   (_open_osfhandle ((intptr_t) (fh), O_RDWR | O_BINARY))


static void set_winsock_errno (void)

Macro Definition Documentation


#define FD_TO_SOCKET (   fd)    ((SOCKET) _get_osfhandle ((fd)))

Definition at line 35 of file w32sock.h.


#define SOCKET_TO_FD (   fh)    (_open_osfhandle ((intptr_t) (fh), O_RDWR | O_BINARY))

Definition at line 36 of file w32sock.h.

Function Documentation

◆ set_winsock_errno()

static void set_winsock_errno ( void  )