-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jnr.posix.LibC
LibC.LibCSignalHandler
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_UNICODE_ENVIRONMENTstatic intFILE_TYPE_CHARstatic intFILE_TYPE_DISKstatic intFILE_TYPE_PIPEstatic intFILE_TYPE_REMOTEstatic intFILE_TYPE_UNKNOWNstatic intINFINITEstatic intNORMAL_PRIORITY_CLASSstatic intPROCESS_QUERY_INFORMATIONstatic intSTD_ERROR_HANDLEstatic intSTD_INPUT_HANDLEstatic intSTD_OUTPUT_HANDLE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int_close(int fd)jnr.ffi.Variable<Long>_environ()HANDLE_get_osfhandle(int fd)int_getpid()int_open_osfhandle(HANDLE handle, int flags)int_pipe(int[] fds, int psize, int textmode)int_stat64(CharSequence path, FileStat stat)int_umask(int mask)int_wchdir(WString path)int_wchmod(WString path, int pmode)int_wmkdir(WString path)int_wstat64(byte[] path, FileStat stat)int_wstat64(WString path, FileStat stat)booleanCloseHandle(HANDLE handle)HANDLECreateFileW(byte[] lpFileName, int dwDesiredAccess, int dwShareMode, jnr.ffi.Pointer lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, int hTemplateFile)booleanCreateHardLinkW(WString oldname, WString newName, WString reserved)booleanCreateProcessW(byte[] applicationName, ByteBuffer buffer, WindowsSecurityAttributes processAttributes, WindowsSecurityAttributes threadAttributes, int inheritHandles, int creationFlags, jnr.ffi.Pointer envp, byte[] currentDirectory, WindowsStartupInfo startupInfo, WindowsProcessInformation processInformation)intFileTimeToSystemTime(FileTime fileTime, SystemTime systemTime)intFindClose(HANDLE handle)HANDLEFindFirstFileW(byte[] wpath, WindowsFindData findData)HANDLEFindFirstFileW(WString wpath, WindowsFindData findData)booleanGetComputerNameW(ByteBuffer lpBuffer, jnr.ffi.byref.IntByReference nSize)booleanGetExitCodeProcess(HANDLE handle, jnr.ffi.byref.IntByReference exitCode)booleanGetExitCodeProcess(HANDLE handle, jnr.ffi.Pointer exitCode)intGetFileAttributesExW(byte[] path, int infoLevel, WindowsFileInformation fileInformation)intGetFileAttributesExW(WString path, int infoLevel, WindowsFileInformation fileInformation)intGetFileAttributesW(WString path)intGetFileInformationByHandle(HANDLE handle, WindowsByHandleFileInformation fileInformation)intGetFileSize(HANDLE handle, jnr.ffi.byref.IntByReference outSizeHigh)intGetFileType(HANDLE handle)HANDLEGetStdHandle(int stdHandle)HANDLEOpenProcess(int desiredAccess, int inheritHandle, int processId)booleanRemoveDirectoryW(WString path)booleanSetEnvironmentVariableW(WString envName, WString envValue)intSetFileAttributesW(WString path, int flags)booleanSetFileTime(HANDLE hFile, FileTime lpCreationTime, FileTime lpLastAccessTime, FileTime lpLastWriteTime)intWaitForSingleObject(HANDLE handle, int milliseconds)-
Methods inherited from interface jnr.posix.LibC
access, chdir, chmod, chown, close, confstr, daemon, dup, dup2, endgrent, endpwent, environ, execv, execve, fchmod, fchown, fcntl, fcntl, fcntl, fcntl, fcntl, fdatasync, flock, fork, fpathconf, fstat, fstat64, fsync, ftruncate, futimens, futimens, futimes, getcwd, getdtablesize, getegid, getenv, geteuid, getgid, getgrent, getgrgid, getgrnam, getgroups, gethostname, getlogin, getpgid, getpgid, getpgrp, getpid, getppid, getpriority, getpwent, getpwnam, getpwuid, getrlimit, getrlimit, getsockopt, gettimeofday, getuid, isatty, kill, kill, lchmod, lchown, link, lseek, lstat, lstat64, lutimes, mkdir, nl_langinfo, open, pipe, pread, pread, pread, pread, pwrite, pwrite, pwrite, pwrite, raise, read, read, read, read, readlink, readlink, readlink, recvmsg, rename, rmdir, sendmsg, setegid, setenv, seteuid, setgid, setgrent, setlocale, setpgid, setpgrp, setpriority, setpwent, setrlimit, setrlimit, setsid, setsockopt, setuid, signal, socketpair, stat, stat64, strerror, symlink, syscall, syscall, syscall, syscall, sysconf, times, truncate, umask, unlink, unsetenv, utimensat, utimensat, utimes, utimes, wait, waitpid, write, write, write, write
-
-
-
-
Field Detail
-
STD_INPUT_HANDLE
static final int STD_INPUT_HANDLE
- See Also:
- Constant Field Values
-
STD_OUTPUT_HANDLE
static final int STD_OUTPUT_HANDLE
- See Also:
- Constant Field Values
-
STD_ERROR_HANDLE
static final int STD_ERROR_HANDLE
- See Also:
- Constant Field Values
-
NORMAL_PRIORITY_CLASS
static final int NORMAL_PRIORITY_CLASS
- See Also:
- Constant Field Values
-
CREATE_UNICODE_ENVIRONMENT
static final int CREATE_UNICODE_ENVIRONMENT
- See Also:
- Constant Field Values
-
INFINITE
static final int INFINITE
- See Also:
- Constant Field Values
-
FILE_TYPE_DISK
static final int FILE_TYPE_DISK
- See Also:
- Constant Field Values
-
FILE_TYPE_CHAR
static final int FILE_TYPE_CHAR
- See Also:
- Constant Field Values
-
FILE_TYPE_PIPE
static final int FILE_TYPE_PIPE
- See Also:
- Constant Field Values
-
FILE_TYPE_REMOTE
static final int FILE_TYPE_REMOTE
- See Also:
- Constant Field Values
-
FILE_TYPE_UNKNOWN
static final int FILE_TYPE_UNKNOWN
- See Also:
- Constant Field Values
-
PROCESS_QUERY_INFORMATION
static final int PROCESS_QUERY_INFORMATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
_open_osfhandle
int _open_osfhandle(HANDLE handle, int flags)
-
_get_osfhandle
HANDLE _get_osfhandle(int fd)
-
_close
int _close(int fd)
-
_getpid
int _getpid()
-
_stat64
int _stat64(CharSequence path, FileStat stat)
-
_umask
int _umask(int mask)
-
_wmkdir
int _wmkdir(WString path)
-
RemoveDirectoryW
boolean RemoveDirectoryW(WString path)
-
_wchmod
int _wchmod(WString path, int pmode)
-
_wchdir
int _wchdir(WString path)
-
_wstat64
int _wstat64(byte[] path, FileStat stat)
-
_pipe
int _pipe(int[] fds, int psize, int textmode)
-
CreateProcessW
boolean CreateProcessW(byte[] applicationName, ByteBuffer buffer, WindowsSecurityAttributes processAttributes, WindowsSecurityAttributes threadAttributes, int inheritHandles, int creationFlags, jnr.ffi.Pointer envp, byte[] currentDirectory, WindowsStartupInfo startupInfo, WindowsProcessInformation processInformation)
-
OpenProcess
HANDLE OpenProcess(int desiredAccess, int inheritHandle, int processId)
-
FileTimeToSystemTime
int FileTimeToSystemTime(FileTime fileTime, SystemTime systemTime)
-
GetFileAttributesW
int GetFileAttributesW(WString path)
-
GetFileAttributesExW
int GetFileAttributesExW(WString path, int infoLevel, WindowsFileInformation fileInformation)
-
GetFileAttributesExW
int GetFileAttributesExW(byte[] path, int infoLevel, WindowsFileInformation fileInformation)
-
SetFileAttributesW
int SetFileAttributesW(WString path, int flags)
-
GetFileInformationByHandle
int GetFileInformationByHandle(HANDLE handle, WindowsByHandleFileInformation fileInformation)
-
FindClose
int FindClose(HANDLE handle)
-
FindFirstFileW
HANDLE FindFirstFileW(WString wpath, WindowsFindData findData)
-
FindFirstFileW
HANDLE FindFirstFileW(byte[] wpath, WindowsFindData findData)
-
GetExitCodeProcess
boolean GetExitCodeProcess(HANDLE handle, jnr.ffi.Pointer exitCode)
-
GetExitCodeProcess
boolean GetExitCodeProcess(HANDLE handle, jnr.ffi.byref.IntByReference exitCode)
-
GetFileType
int GetFileType(HANDLE handle)
-
GetFileSize
int GetFileSize(HANDLE handle, jnr.ffi.byref.IntByReference outSizeHigh)
-
GetStdHandle
HANDLE GetStdHandle(int stdHandle)
-
CreateFileW
HANDLE CreateFileW(byte[] lpFileName, int dwDesiredAccess, int dwShareMode, jnr.ffi.Pointer lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, int hTemplateFile)
-
GetComputerNameW
boolean GetComputerNameW(ByteBuffer lpBuffer, jnr.ffi.byref.IntByReference nSize)
-
SetFileTime
boolean SetFileTime(HANDLE hFile, FileTime lpCreationTime, FileTime lpLastAccessTime, FileTime lpLastWriteTime)
-
CloseHandle
boolean CloseHandle(HANDLE handle)
-
WaitForSingleObject
int WaitForSingleObject(HANDLE handle, int milliseconds)
-
_environ
jnr.ffi.Variable<Long> _environ()
-
-