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

jdk.internal.sys.posix.Dirent Maven / Gradle / Ivy

package jdk.internal.sys.posix;

import org.qbicc.runtime.Build;

import static org.qbicc.runtime.CNative.*;

@include("")
@include(value = "", when = Build.Target.IsMacOs.class)
@define(value = "_POSIX_C_SOURCE", as = "200809L")
public class Dirent {
    @incomplete
    public static final class DIR extends object {
    }

    public static final class struct_dirent extends object {
        public c_char[] d_name;
    }

    public static native c_int closedir(ptr dir);
    public static native ptr fdopendir(c_int fd);
    public static native ptr opendir(ptr<@c_const c_char> path);
    public static native ptr readdir(ptr dir);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy