jnr.posix.UnixLibC Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jnr-unixsocket-nodep Show documentation
Show all versions of jnr-unixsocket-nodep Show documentation
com.github.jnr:jnr-unixsocket with orh.objectweb.asm shaded
The newest version!
package jnr.posix;
import jnr.ffi.Pointer;
import jnr.ffi.annotations.In;
import jnr.ffi.annotations.Out;
import jnr.ffi.byref.ByReference;
import jnr.ffi.byref.IntByReference;
import jnr.ffi.byref.ShortByReference;
public interface UnixLibC extends LibC {
public int posix_spawn(@Out ByReference pid, @In CharSequence path, @In Pointer fileActions,
@In Pointer attr, @In CharSequence[] argv, @In CharSequence[] envp);
public int posix_spawnp(@Out ByReference pid, @In CharSequence path, @In Pointer fileActions,
@In Pointer attr, @In CharSequence[] argv, @In CharSequence[] envp);
public int posix_spawn_file_actions_init(Pointer fileActions);
public int posix_spawn_file_actions_destroy(Pointer fileActions);
public int posix_spawn_file_actions_addclose(Pointer fileActions, int filedes);
public int posix_spawn_file_actions_addopen(Pointer fileActions, int filedes, CharSequence path,
int oflag, int mode);
public int posix_spawn_file_actions_adddup2(Pointer fileActions, int filedes, int newfiledes);
public int posix_spawnattr_init(Pointer attr);
public int posix_spawnattr_destroy(Pointer attr);
public int posix_spawnattr_setflags(Pointer attr, short flags);
public int posix_spawnattr_getflags(Pointer attr, ShortByReference flags);
}