diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2026-01-24 23:27:28 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2026-01-24 23:27:28 +0200 |
| commit | 783e615ca031045eaa979532fc2c2b762ed8593f (patch) | |
| tree | bd87bf76d9d33cab6623b2d4751cd08f1cc1f459 /src/uapi | |
| parent | 6fb77c70559782a9928432af5cc6f83906a530c1 (diff) | |
| download | kmi-783e615ca031045eaa979532fc2c2b762ed8593f.tar.gz kmi-783e615ca031045eaa979532fc2c2b762ed8593f.zip | |
specify some error codes
Diffstat (limited to 'src/uapi')
| -rw-r--r-- | src/uapi/mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |
