32e616339a
* libnosys/Makefile.in (OBJS): Add chown, readlink, and symlink. * libnosys/chown.c: New file. * libnosys/readlink.c: New file. * libnosys/symlink.c: New file.
23 lines
324 B
C
23 lines
324 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
|
|
_DEFUN (_symlink, (path1, path2),
|
|
const char *path1 _AND
|
|
const char *path2)
|
|
{
|
|
errno = ENOSYS;
|
|
return -1;
|
|
}
|
|
|
|
stub_warning(_symlink)
|