diff options
author | dzwdz | 2023-08-31 01:06:41 +0200 |
---|---|---|
committer | dzwdz | 2023-08-31 01:06:41 +0200 |
commit | 6cbe58797781cb8514a62bb3ab0e3e8a5d58bce2 (patch) | |
tree | bc405a3bc28dce58f1a7141640a5e0605363224c /src/libc/include | |
parent | cf7877737ff5032f8bad59d57b048f66c4813b5b (diff) |
kernel: add _sys_getprocfs in place of HANDLE_PROCFS
This makes the side-effects more explicit, and feels less hacky than
`HANDLE_PROCFS`. I don't think accessing a handle alone should have
side-effects, even if it's a "special" one.
Diffstat (limited to 'src/libc/include')
-rw-r--r-- | src/libc/include/camellia.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libc/include/camellia.h b/src/libc/include/camellia.h index 2e4998b..49298bd 100644 --- a/src/libc/include/camellia.h +++ b/src/libc/include/camellia.h @@ -3,3 +3,5 @@ #include <camellia/types.h> hid_t camellia_open(const char *path, int flags); + +int camellia_procfs(const char *path); |