newlib-cygwin/libgloss/riscv/sys_unlink.c

10 lines
192 B
C

#include <machine/syscall.h>
#include "internal_syscall.h"
/* Remove a file's directory entry. */
int
_unlink(const char *name)
{
return syscall_errno (SYS_unlink, name, 0, 0, 0, 0, 0);
}