Skip to content
Discussion options

You must be logged in to vote

Odin should match the linux syscall interface relatively closely, aside from the following exceptions:

  1. Flags are bitsets
  2. If the interface assumes concatenation of an integer and a bitset, those are separated into different arguments
  3. Pointer + length pairs are replaced with slices in procedure paramters
  4. Errno (if present) and the numberic return value are returned as separate arguments.

If you believe that Odin's functions are wrong, feel free to make an issue, I'll fix it within a week (when I have the time). Some of these functions in linux syscall interface weren't tested so I'm not sure if any of them still contain mistakes.

Also please note that the book you have linked uses POSIX i…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AxelArielSaravia
Comment options

@flysand7
Comment options

Answer selected by AxelArielSaravia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants