posix: add package

This commit is contained in:
Laytan Laats committed 2024-08-14 01:44:35 +02:00
1 parent ac68a9d52c
commit efe68c2e24
83 files changed
+12665 -328

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package posix
// netinet/tcp.h - definitions for the Internet Transmission Control Protocol (TCP)
when ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD || ODIN_OS == .OpenBSD {
TCP_NODELAY :: 0x01
} else {
#panic("posix is unimplemented for the current target")
}