This repository has been archived on 2025-02-12. You can view files and clone it, but cannot push or open issues or pull requests.
pic32-newlib/newlib/libgloss/libnosys/read.c
2009-02-02 03:03:19 +00:00

23 lines
328 B
C

/*
* Stub version of read.
*/
#include "config.h"
#include <_ansi.h>
#include <_syslist.h>
#include <errno.h>
#undef errno
extern int errno;
#include "warning.h"
int
_DEFUN (_read, (file, ptr, len),
int file _AND
char *ptr _AND
int len)
{
errno = ENOSYS;
return -1;
}
stub_warning(_read)