diff options
Diffstat (limited to 'include/os.h')
-rw-r--r-- | include/os.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h index d6d6e5794e..fa4e39fc74 100644 --- a/include/os.h +++ b/include/os.h @@ -84,6 +84,14 @@ int os_open(const char *pathname, int flags); int os_close(int fd); /** + * Access to the OS unlink() system call + * + * \param pathname Path of file to delete + * \return 0 for success, other for error + */ +int os_unlink(const char *pathname); + +/** * Access to the OS exit() system call * * This exits with the supplied return code, which should be 0 to indicate |