mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-17 12:01:53 +08:00
849fe25d0e
* libc/include/sys/unistd.h (readlink): Add restrict keyword. (readlinkat): Ditto. (swab): Ditto. * libc/sys/rdos/readlink.c (readlink): Ditto. * libc/string/swab.c (swab): Ditto.
12 lines
219 B
C
Executable File
12 lines
219 B
C
Executable File
#include "config.h"
|
|
#include <_ansi.h>
|
|
#include <_syslist.h>
|
|
#include <errno.h>
|
|
#include <sys/types.h>
|
|
|
|
int readlink(const char *__restrict path, char *__restrict buf, size_t bufsize)
|
|
{
|
|
errno = ENOSYS;
|
|
return -1;
|
|
}
|