diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-25 21:59:24 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-25 21:59:24 -0400 |
commit | add3e844cf9eaf49010fbee2aa73977086e47428 (patch) | |
tree | 358f06ac38e67ab9389e705803210227ddc0f4bc /sys/lib/string/strlen.c | |
parent | 51e23753f4e98ef278324e3ea13f9617fe3a7a80 (diff) |
kernel: filedesc: Return status in fd_alloc()
It is better for fd_alloc() to return the status and have
one of the arguments point to an output than have fd_alloc()
return the allocated file descriptor just like that.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/lib/string/strlen.c')
0 files changed, 0 insertions, 0 deletions