diff options
author | pommicket <pommicket@gmail.com> | 2023-01-04 19:51:13 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-04 19:51:13 -0500 |
commit | d9cc57e9ff1725e6e63973705adbf218d6961d17 (patch) | |
tree | 4c2eaa1e0b39a3387793299c52062996ee7be3ae /os.h | |
parent | 87b0da0d33d97abc0ba94ad18d988d370d09441b (diff) |
fix command-line argument starting file if it doesn't exist
it used to open an untitled buffer.
also, clarified buffer_load_file
Diffstat (limited to 'os.h')
-rw-r--r-- | os.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ int fs_mkdir(const char *path); // 1 if the working directory was inserted into buf successfully // 0 if buf is too short to hold the cwd // -1 if we can't get the cwd for whatever reason. -int fs_get_cwd(char *buf, size_t buflen); +int os_get_cwd(char *buf, size_t buflen); struct timespec time_last_modified(const char *filename); struct timespec time_get(void); // sleep for a certain number of nanoseconds |