File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -1420,6 +1420,20 @@ extern "C" {
1420
1420
dirfd : :: c_int ,
1421
1421
path : * const :: c_char ,
1422
1422
) -> :: c_int ;
1423
+ pub fn preadv2 (
1424
+ fd : :: c_int ,
1425
+ iov : * const :: iovec ,
1426
+ iovcnt : :: c_int ,
1427
+ offset : :: off_t ,
1428
+ flags : :: c_int ,
1429
+ ) -> :: ssize_t ;
1430
+ pub fn pwritev2 (
1431
+ fd : :: c_int ,
1432
+ iov : * const :: iovec ,
1433
+ iovcnt : :: c_int ,
1434
+ offset : :: off_t ,
1435
+ flags : :: c_int ,
1436
+ ) -> :: ssize_t ;
1423
1437
}
1424
1438
1425
1439
extern "C" {
Original file line number Diff line number Diff line change @@ -3033,26 +3033,12 @@ extern "C" {
3033
3033
iovcnt : :: c_int ,
3034
3034
offset : :: off_t ,
3035
3035
) -> :: ssize_t ;
3036
- pub fn pwritev2 (
3037
- fd : :: c_int ,
3038
- iov : * const :: iovec ,
3039
- iovcnt : :: c_int ,
3040
- offset : :: off_t ,
3041
- flags : :: c_int ,
3042
- ) -> :: ssize_t ;
3043
3036
pub fn preadv (
3044
3037
fd : :: c_int ,
3045
3038
iov : * const :: iovec ,
3046
3039
iovcnt : :: c_int ,
3047
3040
offset : :: off_t ,
3048
3041
) -> :: ssize_t ;
3049
- pub fn preadv2 (
3050
- fd : :: c_int ,
3051
- iov : * const :: iovec ,
3052
- iovcnt : :: c_int ,
3053
- offset : :: off_t ,
3054
- flags : :: c_int ,
3055
- ) -> :: ssize_t ;
3056
3042
pub fn quotactl (
3057
3043
cmd : :: c_int ,
3058
3044
special : * const :: c_char ,
You can’t perform that action at this time.
0 commit comments