Welcome to mirror list, hosted at ThFree Co, Russian Federation.

uio.h « sys « include « cygwin « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d355ac5b6a87787a10732ef8e04897934f504383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* sys/uio.h

   Copyright 1996, 2000, 2001 Red Hat, Inc.

This file is part of Cygwin.

This software is a copyrighted work licensed under the terms of the
Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
details. */

#ifndef _UIO_H_
#define _UIO_H_

/* For size_t */
#include <stddef.h>
/* For ssize_t */
#include <sys/types.h>

#include <sys/cdefs.h>

__BEGIN_DECLS

/*
 * Define the uio buffers used for writev, readv.
 */

struct iovec {
	caddr_t iov_base;
	int iov_len;
};

extern ssize_t readv __P ((int filedes, const struct iovec *vector, int count));
extern ssize_t writev __P ((int filedes, const struct iovec *vector, int count));

__END_DECLS

#endif /* _UIO_H_ */