The manual
ginnOS
The reference: libc, the libraries and the kernel
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
15{
17 char sun_path[108]; // the name, terminated
18};
sockets: Unix domain stream sockets, with file descriptor passing, and IPv4 sockets (TCP; UDP,...
unsigned short sa_family_t
Definition socket.h:22
Definition un.h:15
sa_family_t sun_family
Definition un.h:16
char sun_path[108]
Definition un.h:17