mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
Kernel: Begin implementing UNIX domain sockets.
This commit is contained in:
parent
dc200923f2
commit
2f35e54f80
Notes:
sideshowbarker
2024-07-19 15:43:17 +09:00
Author: https://github.com/awesomekling
Commit: 2f35e54f80
12 changed files with 177 additions and 1 deletions
|
@ -219,6 +219,7 @@ typedef dword nlink_t;
|
|||
typedef dword uid_t;
|
||||
typedef dword gid_t;
|
||||
typedef dword clock_t;
|
||||
typedef dword socklen_t;
|
||||
|
||||
struct tms {
|
||||
clock_t tms_utime;
|
||||
|
@ -304,3 +305,18 @@ struct pollfd {
|
|||
short events;
|
||||
short revents;
|
||||
};
|
||||
|
||||
#define AF_UNSPEC 0
|
||||
#define AF_LOCAL 1
|
||||
|
||||
struct sockaddr {
|
||||
word sa_family;
|
||||
char sa_data[14];
|
||||
};
|
||||
|
||||
#define UNIX_PATH_MAX 108
|
||||
|
||||
struct sockaddr_un {
|
||||
word sun_family;
|
||||
char sun_path[UNIX_PATH_MAX];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue