Files
mop3/kernel/fs/ramdiskfs.h
kamkow1 4ad1519e06
All checks were successful
Build documentation / build-and-deploy (push) Successful in 27s
Virtual filesystem and ramdiskfs
2026-02-11 21:36:50 +01:00

16 lines
499 B
C

#ifndef _KERNEL_FS_RAMDISKFS_H
#define _KERNEL_FS_RAMDISKFS_H
#include <libk/std.h>
#include <m/fs_desc_buffer.h>
struct vfs_mountpoint;
bool ramdiskfs_mount (struct vfs_mountpoint* mountpoint);
int ramdiskfs_describe (struct vfs_mountpoint* mountpoint, const char* path,
struct fs_desc_buffer* desc);
int ramdiskfs_read (struct vfs_mountpoint* mountpoint, const char* path, uint8_t* buffer,
size_t off, size_t size);
#endif // _KERNEL_FS_RAMDISKFS_H