2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
* libc/machine/spu/sys/uio.h: New file for readv and writev use.
This commit is contained in:
parent
e234ad1828
commit
364faf910a
@ -1,3 +1,7 @@
|
||||
2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
|
||||
|
||||
* libc/machine/spu/sys/uio.h: New file for readv and writev use.
|
||||
|
||||
2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
|
||||
|
||||
* libc/include/sched.h: New file, just include sys/sched.h.
|
||||
|
26
newlib/libc/machine/spu/sys/uio.h
Normal file
26
newlib/libc/machine/spu/sys/uio.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef _SYS_UIO_H
|
||||
#define _SYS_UIO_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Per POSIX
|
||||
*/
|
||||
|
||||
struct iovec {
|
||||
void *iov_base;
|
||||
size_t iov_len;
|
||||
};
|
||||
|
||||
ssize_t readv(int, const struct iovec *, int);
|
||||
ssize_t writev(int, const struct iovec *, int);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user