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