summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-06-09 16:07:14 -0400
committerIan Moffett <ian@osmora.org>2025-06-09 16:07:14 -0400
commit217e64a099d02d50cdb43acceb2dd28c3f29cad0 (patch)
tree2106d0c2dd1b3eacb92349cea0752d289e6e6dec /sys
parent4edcfc0ce150f8752b8dfc9f37c585d516785a49 (diff)
usr: libc: Add stat() in sys/stat.h
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r--sys/include/sys/stat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/sys/stat.h b/sys/include/sys/stat.h
index 6f1f371..5409f2c 100644
--- a/sys/include/sys/stat.h
+++ b/sys/include/sys/stat.h
@@ -48,4 +48,6 @@ struct stat {
time_t st_ctime;
};
+int stat(const char *path, struct stat *buf);
+
#endif /* _SYS_STAT_H_ */