Create libioutil, implement a filewriter
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m21s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m21s
This commit is contained in:
@@ -71,8 +71,8 @@ int read_dir_entry (const char* path, struct dir_entry* entry, size_t entry_num)
|
||||
|
||||
int create_file (const char* path) { return (int)do_syscall (SYS_CREATE_FILE, path); }
|
||||
|
||||
int write_file (const char* path, size_t off, uint8_t* buffer, size_t size) {
|
||||
return (int)do_syscall (SYS_WRITE_FILE, path, off, buffer, size);
|
||||
int write_file (const char* path, size_t off, uint8_t* buffer, size_t size, uint32_t flags) {
|
||||
return (int)do_syscall (SYS_WRITE_FILE, path, off, buffer, size, flags);
|
||||
}
|
||||
|
||||
int wait_for_pid (int pid) { return (int)do_syscall (SYS_WAIT_FOR_PID, pid); }
|
||||
|
||||
Reference in New Issue
Block a user