diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-12-01 02:43:57 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-12-01 02:43:57 +0300 |
commit | 32e616339a776d09df4ba9fbfbf26369d8735060 (patch) | |
tree | b2a2c2c6afa9431c32354dd2298c6251f50995a1 /libgloss/libnosys/readlink.c | |
parent | 7c15164f1772f7b0e093ff5dd1027051cddc764a (diff) |
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.
Diffstat (limited to 'libgloss/libnosys/readlink.c')
-rw-r--r-- | libgloss/libnosys/readlink.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libgloss/libnosys/readlink.c b/libgloss/libnosys/readlink.c new file mode 100644 index 000000000..7df253c40 --- /dev/null +++ b/libgloss/libnosys/readlink.c @@ -0,0 +1,24 @@ +/* + * Stub version of readlink. + */ + +#include "config.h" +#include <_ansi.h> +#include <_syslist.h> +#include <errno.h> +#include <sys/types.h> +#undef errno +extern int errno; +#include "warning.h" + +int +_DEFUN (_readlink, (path, buf, bufsize), + const char *path _AND + char *buf _AND + size_t bufsize) +{ + errno = ENOSYS; + return -1; +} + +stub_warning(_readlink) |