Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/interplane-forge/blob/main/tools/bring/src/arch-x86.om # interplane-forge INTERPLANE Forge Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-forge / tools / bring / src / arch-x86.om` 26 lines ยท 766 bytes Raw Blame History 1 note Linux x86_64 open flags (asm-generic/fcntl.h): O_DIRECTORY `0200000` = 65536, O_NOFOLLOW `0400000` = 2 note 131072, O_CLOEXEC `02000000` = 524288, O_WRONLY 1, O_CREAT 64, O_EXCL 128, O_TRUNC 512. The stat 3 note words write Omega's 128-byte asm-generic (ARM64) structure on every target (OMEGESE section 10; 4 note omc.om: "Native x86 struct stat is private"), so mode is at 16 and size at 48 here as on AArch64; 5 note measured 2026-11-11 with omc `3ad9f10f` and `c52e986e` under qemu-x86_64 (tools/bring/PLATFORMS.md). 6 fn pl_oflag how ulong to int 7 if eq how 1 8 ret 720896 9 end 10 if eq how 2 11 ret 655937 12 end 13 if eq how 3 14 ret 655553 15 end 16 if eq how 4 17 ret 524288 18 end 19 ret 655360 20 end 21 fn pl_mode b view uchar * to ulong 22 ret rd32 b 16 23 end 24 fn pl_size b view uchar * to ulong 25 ret rd64 b 48 26 end