Browse Source

Add dummy docs for `intrinsics.syscall` on Linux and Darwin

gingerBill 3 years ago
parent
commit
bc15ce302c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      core/intrinsics/intrinsics.odin

+ 3 - 0
core/intrinsics/intrinsics.odin

@@ -49,6 +49,9 @@ fixed_point_div_sat :: proc(lhs, rhs: $T, #const scale: uint) -> T where type_is
 // Compiler Hints
 expect :: proc(val, expected_val: T) -> T ---
 
+// Linux and Darwin Only
+syscall :: proc(id: uintptr, args: ..uintptr) -> uintptr ---
+
 
 // Atomics
 atomic_fence        :: proc() ---