jnr.posix
Interface UnixLibC

All Superinterfaces:
LibC
All Known Subinterfaces:
AixLibC, LinuxLibC, SolarisLibC

public interface UnixLibC
extends LibC


Nested Class Summary
 
Nested classes/interfaces inherited from interface jnr.posix.LibC
LibC.LibCSignalHandler
 
Method Summary
 int posix_spawn_file_actions_addclose(jnr.ffi.Pointer fileActions, int filedes)
           
 int posix_spawn_file_actions_adddup2(jnr.ffi.Pointer fileActions, int filedes, int newfiledes)
           
 int posix_spawn_file_actions_addopen(jnr.ffi.Pointer fileActions, int filedes, java.lang.CharSequence path, int oflag, int mode)
           
 int posix_spawn_file_actions_destroy(jnr.ffi.Pointer fileActions)
           
 int posix_spawn_file_actions_init(jnr.ffi.Pointer fileActions)
           
 int posix_spawn(jnr.ffi.byref.ByReference pid, java.lang.CharSequence path, jnr.ffi.Pointer fileActions, jnr.ffi.Pointer attr, java.lang.CharSequence[] argv, java.lang.CharSequence[] envp)
           
 int posix_spawnattr_destroy(jnr.ffi.Pointer attr)
           
 int posix_spawnattr_getflags(jnr.ffi.Pointer attr, jnr.ffi.byref.ShortByReference flags)
           
 int posix_spawnattr_init(jnr.ffi.Pointer attr)
           
 int posix_spawnattr_setflags(jnr.ffi.Pointer attr, short flags)
           
 int posix_spawnp(jnr.ffi.byref.ByReference pid, java.lang.CharSequence path, jnr.ffi.Pointer fileActions, jnr.ffi.Pointer attr, java.lang.CharSequence[] argv, java.lang.CharSequence[] envp)
           
 
Methods inherited from interface jnr.posix.LibC
chmod, chown, close, endgrent, endpwent, execv, execve, fork, fstat, fstat64, getegid, getenv, geteuid, getgid, getgrent, getgrgid, getgrnam, getlogin, getpgid, getpgid, getpgrp, getpid, getppid, getpriority, getpwent, getpwnam, getpwuid, getuid, isatty, kill, lchmod, lchown, link, lstat, lstat64, mkdir, read, readlink, rmdir, setegid, setenv, seteuid, setgid, setgrent, setpgid, setpgrp, setpriority, setpwent, setsid, setuid, signal, stat, stat64, symlink, sysconf, times, umask, unsetenv, utimes, wait, waitpid, write
 

Method Detail

posix_spawn

int posix_spawn(jnr.ffi.byref.ByReference pid,
                java.lang.CharSequence path,
                jnr.ffi.Pointer fileActions,
                jnr.ffi.Pointer attr,
                java.lang.CharSequence[] argv,
                java.lang.CharSequence[] envp)

posix_spawnp

int posix_spawnp(jnr.ffi.byref.ByReference pid,
                 java.lang.CharSequence path,
                 jnr.ffi.Pointer fileActions,
                 jnr.ffi.Pointer attr,
                 java.lang.CharSequence[] argv,
                 java.lang.CharSequence[] envp)

posix_spawn_file_actions_init

int posix_spawn_file_actions_init(jnr.ffi.Pointer fileActions)

posix_spawn_file_actions_destroy

int posix_spawn_file_actions_destroy(jnr.ffi.Pointer fileActions)

posix_spawn_file_actions_addclose

int posix_spawn_file_actions_addclose(jnr.ffi.Pointer fileActions,
                                      int filedes)

posix_spawn_file_actions_addopen

int posix_spawn_file_actions_addopen(jnr.ffi.Pointer fileActions,
                                     int filedes,
                                     java.lang.CharSequence path,
                                     int oflag,
                                     int mode)

posix_spawn_file_actions_adddup2

int posix_spawn_file_actions_adddup2(jnr.ffi.Pointer fileActions,
                                     int filedes,
                                     int newfiledes)

posix_spawnattr_init

int posix_spawnattr_init(jnr.ffi.Pointer attr)

posix_spawnattr_destroy

int posix_spawnattr_destroy(jnr.ffi.Pointer attr)

posix_spawnattr_setflags

int posix_spawnattr_setflags(jnr.ffi.Pointer attr,
                             short flags)

posix_spawnattr_getflags

int posix_spawnattr_getflags(jnr.ffi.Pointer attr,
                             jnr.ffi.byref.ShortByReference flags)


Copyright © 2013. All Rights Reserved.