summaryrefslogtreecommitdiff
path: root/libaio-0.3.109/man/aio_write64.3
blob: 1080903aca9d35e6d75dbd3f053b609c7d26052e (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.TH aio_write64 3 2002-09-12 "Linux 2.4" Linux AIO"
.SH NAME
aio_write64 \- Initiate an asynchronous write operation
.SH SYNOPSYS
.nf
.B #include <errno.h>
.sp
.br 
.B #include <aio.h>
.sp
.br
.BI  "int aio_write64 (struct aiocb *aiocbp)"
.fi
.SH DESCRIPTION
This function is similar to the 
.IR "aio_write"
function.  The only
difference is that on 
.IR "32 bit"
machines the file descriptor should
be opened in the large file mode.  Internally 
.IR "aio_write64"
uses
functionality equivalent to 
.IR "lseek64"
to position the file descriptor correctly for the writing,
as opposed to 
.IR "lseek"
functionality used in 
.IR "aio_write".

When the sources are compiled with 
.IR "_FILE_OFFSET_BITS == 64"
, this
function is available under the name 
.IR "aio_write"
and so transparently
replaces the interface for small files on 32 bit machines.
.SH "RETURN VALUES"
See
.IR aio_write.
.SH ERRORS
See
.IR aio_write.
.SH "SEE ALSO"
.BR aio(3),
.BR aio_cancel(3),
.BR aio_cancel64(3),
.BR aio_error(3),
.BR aio_error64(3),
.BR aio_fsync(3),
.BR aio_fsync64(3),
.BR aio_init(3),
.BR aio_read(3),
.BR aio_read64(3),
.BR aio_return(3),
.BR aio_return64(3),
.BR aio_suspend(3),
.BR aio_suspend64(3),
.BR aio_write(3),
.BR errno(3),