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

jdk.internal.sys.linux.Fcntl 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.*;
import static org.qbicc.runtime.stdc.Stddef.*;

/**
 *
 */
@define("_GNU_SOURCE")
@include("")
public class Fcntl {
    public static native ssize_t splice(c_int fd_in, ptr off_in, c_int fd_out, ptr off_out, size_t len,
            unsigned_int flags);

    public static native ssize_t vmsplice(c_int fd, ptr<@c_const struct_iovec> iov, unsigned_long nr_segs, unsigned_int flags);

    public static final c_int SPLICE_F_MOVE = constant();
    public static final c_int SPLICE_F_NONBLOCK = constant();
    public static final c_int SPLICE_F_MORE = constant();
    public static final c_int SPLICE_F_GIFT = constant();

    public static final c_int O_DIRECT = constant();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy