kernel: add a syscall to duplicate a handle

This commit is contained in:
2026-03-14 22:30:13 +00:00
parent b7f3bd77a7
commit 2d267d2b51
5 changed files with 39 additions and 0 deletions

View File

@@ -5,5 +5,8 @@
#include <mango/types.h>
extern kern_status_t kern_handle_close(kern_handle_t handle);
extern kern_status_t kern_handle_duplicate(
kern_handle_t handle,
kern_handle_t *out);
#endif