Verified Commit 649df72d authored by Ramon Nou's avatar Ramon Nou Committed by Marc Vef
Browse files

Adding gkfs_stat to the user lib

parent 3fefaec3
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -34,6 +34,8 @@
#include <string>
#include <cstdint>

struct linux_dirent64;

namespace gkfs::syscall {

int
@@ -63,6 +65,9 @@ gkfs_pwrite_ws(int fd, const void* buf, size_t count, off64_t offset);
ssize_t
gkfs_pread_ws(int fd, void* buf, size_t count, off64_t offset);

int
gkfs_stat(const std::string& path, struct stat* buf, bool follow_links = true);

} // namespace gkfs::syscall