From 783e615ca031045eaa979532fc2c2b762ed8593f Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 24 Jan 2026 23:27:28 +0200 Subject: specify some error codes --- src/uapi/mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/uapi') diff --git a/src/uapi/mem.c b/src/uapi/mem.c index 561b5eb..7a233a5 100644 --- a/src/uapi/mem.c +++ b/src/uapi/mem.c @@ -89,7 +89,7 @@ SYSCALL_DEFINE1(free_mem)(struct tcb *t, sys_arg_t start) * @param size Minimum size of allocation. * @param flags Flags of allocation. * @return \ref OK and start of allocation when succesful, - * \ref ERR_OOMEM and \c NULL otherwise. + * otherwise an error code. */ SYSCALL_DEFINE3(req_pmem)(struct tcb *t, sys_arg_t paddr, sys_arg_t size, sys_arg_t flags) @@ -149,7 +149,7 @@ SYSCALL_DEFINE2(req_page)(struct tcb *t, sys_arg_t size, sys_arg_t flags) * @param size Minimum size of allocation. * @param flags Flags of allocation. * @return \ref OK, start - * in that order, \ref ERR_OOMEM otherwise. + * in that order, otherwise an error code. */ SYSCALL_DEFINE2(req_sharedmem)(struct tcb *t, sys_arg_t size, sys_arg_t flags) { -- cgit v1.3