* include/sys/uio.h: Include <sys/cdefs.h>. Use __BEGIN_DECL and
__END_DECL. Add declarations for `readv' and `writev'.
This commit is contained in:
parent
96963a1423
commit
fdb352765e
@ -1,3 +1,9 @@
|
|||||||
|
Tue Dec 5 17:06:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* include/sys/uio.h: Include <sys/cdefs.h>. Use __BEGIN_DECL and
|
||||||
|
__END_DECL.
|
||||||
|
Add declarations for `readv' and `writev'.
|
||||||
|
|
||||||
Mon Dec 4 20:49:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
Mon Dec 4 20:49:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* Makefile.in: Change `-nostartfiles' to `-nostdlib' to avoid
|
* Makefile.in: Change `-nostartfiles' to `-nostdlib' to avoid
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
#ifndef _UIO_H_
|
#ifndef _UIO_H_
|
||||||
#define _UIO_H_
|
#define _UIO_H_
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif /* __cplusplus */
|
|
||||||
|
|
||||||
/* For size_t */
|
/* For size_t */
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
/* For ssize_t */
|
/* For ssize_t */
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define the uio buffers used for writev, readv.
|
* Define the uio buffers used for writev, readv.
|
||||||
*/
|
*/
|
||||||
@ -19,7 +19,9 @@ struct iovec {
|
|||||||
int iov_len;
|
int iov_len;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __cplusplus
|
extern int readv __P ((int filedes, const struct iovec *vector, size_t count));
|
||||||
};
|
extern int writev __P ((int filedes, const struct iovec *vector, size_t count));
|
||||||
#endif /* __cplusplus */
|
|
||||||
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* _UIO_H_ */
|
#endif /* _UIO_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user