Veritable Lasagna
An Allocator & Data Structure Library for C.
Loading...
Searching...
No Matches
vl_stream_filesys.h
Go to the documentation of this file.
1
14#ifndef VL_STREAM_FILESYS_H
15#define VL_STREAM_FILESYS_H
16
17#include <vl/vl_filesys.h>
18#include <vl/vl_stream.h>
19
39VL_API vl_stream* vlStreamOpenFile(const vl_filesys_path* path, const char* mode);
40
63VL_API vl_stream* vlStreamOpenFileStr(vl_filesys* sys, const char* pathStr, const char* mode);
64
65#endif // VL_STREAM_FILESYS_H
Cross-platform filesystem operations with UTF-8 path handling.
Filesystem context structure.
Definition vl_filesys.h:127
Represents a filesystem path within the filesystem context.
Definition vl_filesys.h:88
Generic, thread-safe byte stream abstraction.
Definition vl_stream.h:77
vl_stream * vlStreamOpenFile(const vl_filesys_path *path, const char *mode)
Opens a file stream using a vl_filesys_path object.
Definition vl_stream_filesys.c:150
VL_API vl_stream * vlStreamOpenFileStr(vl_filesys *sys, const char *pathStr, const char *mode)
Opens a file stream using a raw UTF-8 string path.
Definition vl_stream_filesys.c:192