Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sys_unlink.c « riscv « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1cf6bbe8b99089500dc2f5fd0c0ada9f7ad83a2a (plain)
1
2
3
4
5
6
7
8
9
#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);
}