mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
std.c: add find_path for haiku
This commit is contained in:
parent
529064856a
commit
1084590ec4
@ -5,11 +5,15 @@ const maxInt = std.math.maxInt;
|
|||||||
const iovec = std.os.iovec;
|
const iovec = std.os.iovec;
|
||||||
const iovec_const = std.os.iovec_const;
|
const iovec_const = std.os.iovec_const;
|
||||||
|
|
||||||
|
const status_t = i32;
|
||||||
|
|
||||||
extern "c" fn _errnop() *c_int;
|
extern "c" fn _errnop() *c_int;
|
||||||
|
|
||||||
pub const _errno = _errnop;
|
pub const _errno = _errnop;
|
||||||
|
|
||||||
pub extern "c" fn find_directory(which: c_int, volume: i32, createIt: bool, path_ptr: [*]u8, length: i32) u64;
|
pub extern "c" fn find_directory(which: c_int, volume: i32, createIt: bool, path_ptr: [*]u8, length: i32) status_t;
|
||||||
|
|
||||||
|
pub extern "c" fn find_path(codePointer: *const u8, baseDirectory: c_int, subPath: [*:0]const u8, pathBuffer: [*:0]u8, bufferSize: usize) status_t;
|
||||||
|
|
||||||
pub extern "c" fn find_thread(thread_name: ?*anyopaque) i32;
|
pub extern "c" fn find_thread(thread_name: ?*anyopaque) i32;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user