summaryrefslogtreecommitdiff
path: root/src/kernel/vfs
diff options
context:
space:
mode:
authordzwdz2021-08-22 13:40:22 +0200
committerdzwdz2021-08-22 13:40:22 +0200
commitac74cec51fa9c31e4c8cea2dd9f01b7b895d61b4 (patch)
tree9bd017bf5e1f17b621dfc034b230a45159fb7e30 /src/kernel/vfs
parent6d8f2d0e93228a1aaecace14eb345fe1224b211f (diff)
fs_open() stub
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r--src/kernel/vfs/path.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/vfs/path.h b/src/kernel/vfs/path.h
index 769aa27..8efa0d4 100644
--- a/src/kernel/vfs/path.h
+++ b/src/kernel/vfs/path.h
@@ -1,6 +1,8 @@
#pragma once
#include <stddef.h>
+#define PATH_MAX 512
+
/** Reduce a path to its simplest form.
*
* @return length of the string in *out, always less than len. Negative if the path was invalid.