diff options
Diffstat (limited to 'src/kernel/vfs/path.h')
-rw-r--r-- | src/kernel/vfs/path.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/vfs/path.h b/src/kernel/vfs/path.h index 22dc754..3aefccf 100644 --- a/src/kernel/vfs/path.h +++ b/src/kernel/vfs/path.h @@ -6,6 +6,6 @@ * *in and *out can't overlap unless they're equal. Then, the path is modified * in-place. * - * @return Was the path valid? If this is false, *out is undefined + * @return length of the string in *out, always less than len. Negative if the path was invalid. */ -bool path_simplify(const char *in, char *out, size_t len); +int path_simplify(const char *in, char *out, size_t len); |