newlib-cygwin/libgloss/libnosys/symlink.c

22 lines
288 B
C

/*
* Stub version of symlink.
*/
#include "config.h"
#include <_ansi.h>
#include <_syslist.h>
#include <errno.h>
#undef errno
extern int errno;
#include "warning.h"
int
_symlink (const char *path1,
const char *path2)
{
errno = ENOSYS;
return -1;
}
stub_warning(_symlink)