Add create_file syscall, CE mkfile command, FatFS formatting fixes
All checks were successful
Build documentation / build-and-deploy (push) Successful in 4m16s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 4m16s
This commit is contained in:
@@ -68,3 +68,5 @@ int get_exec_pid (void) { return (int)do_syscall (SYS_GET_EXEC_PID, 0); }
|
||||
int read_dir_entry (const char* path, struct dir_entry* entry, size_t entry_num) {
|
||||
return (int)do_syscall (SYS_READ_DIR_ENTRY, path, entry, entry_num);
|
||||
}
|
||||
|
||||
int create_file (const char* path) { return (int)do_syscall (SYS_CREATE_FILE, path); }
|
||||
|
||||
@@ -81,4 +81,7 @@ int get_exec_pid (void);
|
||||
/* Read directory entry */
|
||||
int read_dir_entry (const char* path, struct dir_entry* entry, size_t entry_num);
|
||||
|
||||
/* create a file */
|
||||
int create_file (const char* path);
|
||||
|
||||
#endif // _LIBMSL_M_SYSTEM_H
|
||||
|
||||
Reference in New Issue
Block a user