source: trunk/libs/newlib/src/libgloss/libnosys/readlink.c @ 641

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

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

File size: 329 bytes
Line 
1/*
2 * Stub version of readlink.
3 */
4
5#include "config.h"
6#include <_ansi.h>
7#include <_syslist.h>
8#include <errno.h>
9#include <sys/types.h>
10#undef errno
11extern int errno;
12#include "warning.h"
13
14int
15_readlink (const char *path,
16        char *buf,
17        size_t bufsize)
18{
19  errno = ENOSYS;
20  return -1;
21}
22
23stub_warning(_readlink)
Note: See TracBrowser for help on using the repository browser.