From d9cc57e9ff1725e6e63973705adbf218d6961d17 Mon Sep 17 00:00:00 2001 From: pommicket Date: Wed, 4 Jan 2023 19:51:13 -0500 Subject: fix command-line argument starting file if it doesn't exist it used to open an untitled buffer. also, clarified buffer_load_file --- os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os.h') diff --git a/os.h b/os.h index 27b0d79..fd4bf8e 100644 --- a/os.h +++ b/os.h @@ -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 -- cgit v1.2.3