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

scala.build.internal.GraalvmUnistdExtras Maven / Gradle / Ivy

package scala.build.internal;

import com.oracle.svm.core.posix.headers.PosixDirectives;
import org.graalvm.nativeimage.Platform;
import org.graalvm.nativeimage.Platforms;
import org.graalvm.nativeimage.c.CContext;
import org.graalvm.nativeimage.c.function.CFunction;
import org.graalvm.nativeimage.c.type.CCharPointer;
import org.graalvm.nativeimage.c.type.CCharPointerPointer;

@CContext(PosixDirectives.class)
@Platforms({Platform.LINUX.class, Platform.DARWIN.class})
public class GraalvmUnistdExtras {

    @CFunction
    public static native int chdir(CCharPointer path);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy