The manual
ginnOS
The reference: libc, the libraries and the kernel
Toggle main menu visibility
Loading...
Searching...
No Matches
un.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
sys/socket.h
>
4
5
/**
6
* @file sys/un.h
7
* @brief the address of a Unix domain socket.
8
*
9
* the layout is ABI and must match ksockaddr_un_t in
10
* src/kernel/ipc/unix_socket.h. the names are kept in a kernel table, not
11
* as files: any path works, and nothing shows up in the directory.
12
*/
13
14
struct
sockaddr_un
15
{
16
sa_family_t
sun_family
;
// AF_UNIX
17
char
sun_path
[108];
// the name, terminated
18
};
socket.h
sockets: Unix domain stream sockets, with file descriptor passing, and IPv4 sockets (TCP; UDP,...
sa_family_t
unsigned short sa_family_t
Definition
socket.h:22
sockaddr_un
Definition
un.h:15
sockaddr_un::sun_family
sa_family_t sun_family
Definition
un.h:16
sockaddr_un::sun_path
char sun_path[108]
Definition
un.h:17
src
libc
include
sys
un.h
Generated by
1.18.0