fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / libgloss / libnosys / read.c
blob1a2819c08b2339b1d11d9f5154c0c6aac8c5e814
1 /*
2 * Stub version of read.
3 */
5 #include "config.h"
6 #include <_ansi.h>
7 #include <_syslist.h>
8 #include <errno.h>
9 #undef errno
10 extern int errno;
11 #include "warning.h"
13 int
14 _DEFUN (_read, (file, ptr, len),
15 int file _AND
16 char *ptr _AND
17 int len)
19 errno = ENOSYS;
20 return -1;
23 stub_warning(_read)