mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-23 07:27:21 +08:00
bdcfea3a24
Similar to the others in this space. Make implicit ints explicit ints. Add prototype for _write in sbrk.c.
14 lines
189 B
C
14 lines
189 B
C
#include <_ansi.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include "trap.h"
|
|
|
|
|
|
int
|
|
_read (int file,
|
|
char *ptr,
|
|
size_t len)
|
|
{
|
|
return TRAP0 (SYS_read, file, ptr, len);
|
|
}
|