lib: c: io: implement close()

This commit is contained in:
2026-03-21 10:41:29 +00:00
parent c340f927bb
commit c2b59ed494

View File

@@ -0,0 +1,11 @@
#include <errno.h>
#include <mango/handle.h>
#include <mango/msg.h>
#include <rosetta/fs.h>
#include <sys/remote.h>
int close(int fd)
{
kern_handle_close(fd);
return 0;
}