ulib Add vfsavailmounts() and vfsmountstat()
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
#include <sysdefs/proc.h>
|
||||
#include <sysdefs/fs.h>
|
||||
#include <sysdefs/time.h>
|
||||
#include <sysdefs/vfs.h>
|
||||
|
||||
void debugprint(const char *string);
|
||||
int32_t mman_map(uint8_t *addr, size_t size, uint64_t prot, uint64_t flags, uint8_t **out);
|
||||
@ -17,6 +18,8 @@ int32_t schedsleep(uint32_t ms);
|
||||
int32_t rand(void);
|
||||
int32_t vfsmount(char *mountpoint, char *fstype, Dev_t *dev, bool format);
|
||||
int32_t vfsunmount(char *mountpoint);
|
||||
int32_t vfsavailmounts(VfsAvailMounts *availmounts);
|
||||
int32_t vfsmountstat(VfsMountStat *statbuf, char *label);
|
||||
int32_t ipc_piperead(PID_t pid, uint64_t pipenum, uint8_t *const buffer, size_t len);
|
||||
int32_t ipc_pipewrite(PID_t pid, uint64_t pipenum, const uint8_t *buffer, size_t len);
|
||||
int32_t ipc_pipemake(uint64_t pipenum);
|
||||
|
||||
Reference in New Issue
Block a user