interface: fs: replace ifc definition with xpcg

This commit is contained in:
2026-03-10 19:13:24 +00:00
parent 5931642cc2
commit 79af171384
3 changed files with 11 additions and 1 deletions

9
interface/fs.xpc Normal file
View File

@@ -0,0 +1,9 @@
interface fs 6400;
func open[0](path: string, flags: int) -> (err: int);
func close[1]() -> (err: int);
func read[2](count: size) -> (err: int, nr_read: size, data: buffer);
func write[3](data: buffer) -> (err: int, nr_written: size);
func map[4](prot: int, flags: int) -> (vmo: handle);