std.net.internal.syscalls_linux

Linux-spezifische Netzwerk-Syscalls: epoll, io_uring, sendfile, splice, recvmmsg, sendmmsg und weitere Linux-exklusive Kernel-Schnittstellen. Diese Unit ergänzt std.net.syscalls um Linux-spezifische High-Performance-APIs.

Nur für Linux-Targets verfügbar. Portabler Code sollte std.net.syscalls und std.net.socket verwenden.

std.net · std.net.syscalls · std.net.internal.types


Funktionen

Signatur Sichtbarkeit Beschreibung
EpollCreate(): int64 pub Erzeugt epoll-Instanz; gibt Dateideskriptor zurück
EpollCtlAdd(epfd: int64, fd: int64, events: int64): int64 pub Registriert fd in epoll-Instanz (EPOLL_CTL_ADD)
EpollCtlMod(epfd: int64, fd: int64, events: int64): int64 pub Ändert epoll-Event-Maske (EPOLL_CTL_MOD)
EpollCtlDel(epfd: int64, fd: int64): int64 pub Entfernt fd aus epoll-Instanz (EPOLL_CTL_DEL)
EpollWait(epfd: int64, events: pchar, maxEvents: int64, timeout: int64): int64 pub Wartet auf Events; gibt Anzahl zurück
Sendfile(outFd: int64, inFd: int64, offset: *int64, count: int64): int64 pub Effiziente Datei-zu-Socket-Übertragung ohne Userspace-Kopie
Splice(fdIn: int64, offIn: *int64, fdOut: int64, offOut: *int64, len: int64, flags: int64): int64 pub Kernel-Daten-Transfer zwischen Dateideskriptoren
RecvMMsg(sockfd: int64, msgvec: pchar, vlen: int64, flags: int64): int64 pub Empfängt mehrere Nachrichten in einem Syscall
SendMMsg(sockfd: int64, msgvec: pchar, vlen: int64, flags: int64): int64 pub Sendet mehrere Nachrichten in einem Syscall
SetSockOptInt(fd: int64, level: int64, opt: int64, val: int64): int64 pub Setzt Socket-Option (Integer-Wert)
GetSockOptInt(fd: int64, level: int64, opt: int64): int64 pub Liest Socket-Option (Integer-Wert)

Letzte Aktualisierung: 2026-05-22