All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jdk.internal.sys.linux.SysUio Maven / Gradle / Ivy

There is a newer version: 17.alpha.0.57
Show newest version
package jdk.internal.sys.linux;

import static org.qbicc.runtime.CNative.*;
import static jdk.internal.sys.posix.SysTypes.*;
import static jdk.internal.sys.posix.SysUio.*;

/**
 *
 */
@include("")
public final class SysUio {
    public static native ssize_t preadv(c_int fd, ptr<@c_const struct_iovec> iov, c_int iovCnt, off_t offset);

    public static native ssize_t pwritev(c_int fd, ptr<@c_const struct_iovec> iov, c_int iovCnt, off_t offset);

    public static native ssize_t preadv2(c_int fd, ptr<@c_const struct_iovec> iov, c_int iovCnt, off_t offset, c_int flags);

    public static native ssize_t pwritev2(c_int fd, ptr<@c_const struct_iovec> iov, c_int iovCnt, off_t offset, c_int flags);

    public static final c_int RWF_DSYNC = constant();
    public static final c_int RWF_HIPRI = constant();
    public static final c_int RWF_SYNC = constant();
    public static final c_int RWF_NOWAIT = constant();
    public static final c_int RWF_APPEND = constant();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy