afunix.h 479 B

12345678910111213141516171819
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef _AFUNIX_
  7. #define _AFUNIX_
  8. #define UNIX_PATH_MAX 108
  9. typedef struct sockaddr_un {
  10. ADDRESS_FAMILY sun_family;
  11. char sun_path[UNIX_PATH_MAX];
  12. } SOCKADDR_UN, *PSOCKADDR_UN;
  13. #define SIO_AF_UNIX_GETPEERPID _WSAIOR(IOC_VENDOR, 256)
  14. #endif /* _AFUNIX_ */