un.h 351 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <Kernel/API/POSIX/sys/types.h>
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #define UNIX_PATH_MAX 108
  12. struct sockaddr_un {
  13. uint16_t sun_family;
  14. char sun_path[UNIX_PATH_MAX];
  15. };
  16. #ifdef __cplusplus
  17. }
  18. #endif