mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
orbis: add statfs file api
Some checks failed
Formatting check / formatting-check (push) Has been cancelled
Build RPCSX / build-linux (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv8-a) (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv8.1-a) (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv8.2-a) (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv8.4-a) (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv8.5-a) (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv9-a) (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv9.1-a) (push) Has been cancelled
Build RPCSX / build-android (x86_64, x86-64) (push) Has been cancelled
Some checks failed
Formatting check / formatting-check (push) Has been cancelled
Build RPCSX / build-linux (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv8-a) (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv8.1-a) (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv8.2-a) (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv8.4-a) (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv8.5-a) (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv9-a) (push) Has been cancelled
Build RPCSX / build-android (arm64-v8a, armv9.1-a) (push) Has been cancelled
Build RPCSX / build-android (x86_64, x86-64) (push) Has been cancelled
This commit is contained in:
parent
e04188faec
commit
479b09b2df
|
|
@ -1,11 +1,11 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "IoDevice.hpp"
|
||||||
#include "KernelAllocator.hpp"
|
#include "KernelAllocator.hpp"
|
||||||
#include "error/ErrorCode.hpp"
|
#include "error/ErrorCode.hpp"
|
||||||
#include "note.hpp"
|
#include "note.hpp"
|
||||||
#include "rx/Rc.hpp"
|
#include "rx/Rc.hpp"
|
||||||
#include "rx/SharedMutex.hpp"
|
#include "rx/SharedMutex.hpp"
|
||||||
#include "IoDevice.hpp"
|
|
||||||
#include "stat.hpp"
|
#include "stat.hpp"
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
|
@ -14,6 +14,7 @@ struct File;
|
||||||
struct KNote;
|
struct KNote;
|
||||||
struct Thread;
|
struct Thread;
|
||||||
struct Stat;
|
struct Stat;
|
||||||
|
struct StatFs;
|
||||||
struct Uio;
|
struct Uio;
|
||||||
struct SocketAddress;
|
struct SocketAddress;
|
||||||
struct msghdr;
|
struct msghdr;
|
||||||
|
|
@ -34,6 +35,7 @@ struct FileOps {
|
||||||
ErrorCode (*kqfilter)(File *file, KNote *kn, Thread *thread) = nullptr;
|
ErrorCode (*kqfilter)(File *file, KNote *kn, Thread *thread) = nullptr;
|
||||||
|
|
||||||
ErrorCode (*stat)(File *file, Stat *sb, Thread *thread) = nullptr;
|
ErrorCode (*stat)(File *file, Stat *sb, Thread *thread) = nullptr;
|
||||||
|
ErrorCode (*statfs)(File *file, StatFs *sb, Thread *thread) = nullptr;
|
||||||
|
|
||||||
ErrorCode (*mkdir)(File *file, const char *path, std::int32_t mode) = nullptr;
|
ErrorCode (*mkdir)(File *file, const char *path, std::int32_t mode) = nullptr;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue