diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-26 17:58:35 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-26 17:59:24 -0400 |
commit | 2aca04b209a1fdba618052304be1d211000921bb (patch) | |
tree | bfb5ae31d9e83d629a11df62793642047c70ce3f /sys | |
parent | 45f7325efedcd4e8916c2a486831bf174ed21021 (diff) |
kernel: vfs: Add PATH_MAX define
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/include/sys/vfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/include/sys/vfs.h b/sys/include/sys/vfs.h index c1bef53..e219cf7 100644 --- a/sys/include/sys/vfs.h +++ b/sys/include/sys/vfs.h @@ -34,6 +34,9 @@ #include <sys/vnode.h> #include <sys/types.h> +/* Max path length */ +#define PATH_MAX 1024 + #if defined(_KERNEL) extern struct vnode *g_root_vnode; |