2005-11-30 Shaun Jackman <sjackman@gmail.com>
* libnosys/Makefile.in (OBJS): Add chown, readlink, and symlink. * libnosys/chown.c: New file. * libnosys/readlink.c: New file. * libnosys/symlink.c: New file.
This commit is contained in:
22
libgloss/libnosys/symlink.c
Normal file
22
libgloss/libnosys/symlink.c
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* 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)
|
Reference in New Issue
Block a user