| ... | @@ -5,15 +5,11 @@ const maxInt = std.math.maxInt; | ... | @@ -5,15 +5,11 @@ const maxInt = std.math.maxInt; |
| 5 | const iovec = std.os.iovec; | 5 | const iovec = std.os.iovec; |
| 6 | const iovec_const = std.os.iovec_const; | 6 | const iovec_const = std.os.iovec_const; |
| 7 | | 7 | |
| 8 | const status_t = i32; | | |
| 9 | | | |
| 10 | extern "c" fn _errnop() *c_int; | 8 | extern "c" fn _errnop() *c_int; |
| 11 | | 9 | |
| 12 | pub const _errno = _errnop; | 10 | pub const _errno = _errnop; |
| 13 | | 11 | |
| 14 | pub extern "c" fn find_directory(which: c_int, volume: i32, createIt: bool, path_ptr: [*]u8, length: i32) status_t; | 12 | pub extern "c" fn find_directory(which: c_int, volume: i32, createIt: bool, path_ptr: [*]u8, length: i32) u64; |
| 15 | | | |
| 16 | pub extern "c" fn find_path(codePointer: *const u8, baseDirectory: c_int, subPath: [*:0]const u8, pathBuffer: [*:0]u8, bufferSize: usize) status_t; | | |
| 17 | | 13 | |
| 18 | pub extern "c" fn find_thread(thread_name: ?*anyopaque) i32; | 14 | pub extern "c" fn find_thread(thread_name: ?*anyopaque) i32; |
| 19 | | 15 | |