Skip to content

Commit d376930

Browse files
committed
Haiku: add definitions for the Haiku's native sytem API.
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.
1 parent bb8fe9a commit d376930

File tree

2 files changed

+1094
-0
lines changed

2 files changed

+1094
-0
lines changed

src/unix/haiku/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,3 +1553,6 @@ cfg_if! {
15531553
pub use self::b32::*;
15541554
}
15551555
}
1556+
1557+
mod native;
1558+
pub use self::native::*;

0 commit comments

Comments
 (0)