source: trunk/libs/newlib/src/libgloss/libnosys/unlink.c @ 477

Last change on this file since 477 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 251 bytes
Line 
1/*
2 * Stub version of unlink.
3 */
4
5#include "config.h"
6#include <_ansi.h>
7#include <_syslist.h>
8#include <errno.h>
9#undef errno
10extern int errno;
11#include "warning.h"
12
13int
14_unlink (char *name)
15{
16  errno = ENOSYS;
17  return -1;
18}
19
20stub_warning(_unlink)
Note: See TracBrowser for help on using the repository browser.