lib: fs: implement fs.seek()

This commit is contained in:
2026-03-21 10:48:33 +00:00
parent a37a07d708
commit af424d85d8
3 changed files with 61 additions and 0 deletions

View File

@@ -38,6 +38,14 @@ extern kern_status_t fs_msg_write(
size_t *out_nr_written,
void *arg);
extern kern_status_t fs_msg_seek(
xpc_context_t *ctx,
const xpc_endpoint_t *sender,
off_t offset,
int origin,
int *out_err,
off_t *out_new_pos,
void *arg);
extern kern_status_t fs_msg_map(
xpc_context_t *ctx,
const xpc_endpoint_t *sender,