]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/os.h
unit-test: make "test -e" test independent of $CWD
[karo-tx-uboot.git] / include / os.h
index d6d6e5794e479460f9881f59e90fc453bb519e8e..fa4e39fc74c9eb516fa25096cfdfa70c9bfdc8d7 100644 (file)
@@ -83,6 +83,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
  *