Projet_SETI_RISC-V/riscv-gnu-toolchain/newlib/libgloss/riscv/sys_unlink.c
2023-03-06 14:48:14 +01:00

9 lines
195 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, 1, name, 0, 0, 0, 0, 0);
}