Skip to content

Commit

Permalink
Haiku: add definitions for the Haiku's native sytem API.
Browse files Browse the repository at this point in the history
On the Haiku platform, the POSIX (and BSD) API coexists with the native API,
that has its origins on the BeOS platform. Unlike other UNIX-like platforms,
the native API is not an extension of the POSIX API, but instead exists sui
generis, and many of the POSIX concepts have their own native variety, with
relatively limited interoperability.

Nontheless, the native API coexists in the same library as the standard C and
POSIX functions, namely libroot.so, and therefore this crate is a good place
to add bindings to it.

This commit implements most of Haiku's support kit, the most important parts
of the kernel kit, and a part of the storage kit.
  • Loading branch information
nielx committed Jan 13, 2021
1 parent bb8fe9a commit 939dbb8
Show file tree
Hide file tree
Showing 2 changed files with 1,131 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/unix/haiku/mod.rs
Expand Up @@ -1553,3 +1553,6 @@ cfg_if! {
pub use self::b32::*;
}
}

mod native;
pub use self::native::*;

0 comments on commit 939dbb8

Please sign in to comment.