X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=include%2Fos.h;h=fa4e39fc74c9eb516fa25096cfdfa70c9bfdc8d7;hp=d6d6e5794e479460f9881f59e90fc453bb519e8e;hb=cfd13e8dda9d2db3f6bdf32d623aecf10ee1ba50;hpb=fe9ca3d3287185e388de55904420cc7915e4a3b1 diff --git a/include/os.h b/include/os.h index d6d6e5794e..fa4e39fc74 100644 --- a/include/os.h +++ b/include/os.h @@ -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 *