This commit is contained in:
Delyan Angelov 2025-09-05 07:32:34 +03:00
parent 9b07004b9b
commit 899efcd8b0
2 changed files with 3 additions and 1 deletions

View file

@ -54,7 +54,7 @@ fn C.isdigit(c int) bool
fn C.popen(c &char, t &char) voidptr fn C.popen(c &char, t &char) voidptr
// <libproc.h> // <libproc.h>
pub fn C.proc_pidpath(int, voidptr, int) int fn C.proc_pidpath(int, voidptr, int) int
fn C.realpath(const_path &char, resolved_path &char) &char fn C.realpath(const_path &char, resolved_path &char) &char

View file

@ -3,6 +3,8 @@
// that can be found in the LICENSE file. // that can be found in the LICENSE file.
module os module os
#include <libproc.h>
pub const sys_write = 4 pub const sys_write = 4
pub const sys_open = 5 pub const sys_open = 5
pub const sys_close = 6 pub const sys_close = 6