Package jnr.posix
Interface WindowsLibC
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jnr.posix.LibC
LibC.LibCSignalHandler
-
-
Field Summary
Fields Modifier and Type Field Description static int
CREATE_UNICODE_ENVIRONMENT
static int
FILE_TYPE_CHAR
static int
FILE_TYPE_DISK
static int
FILE_TYPE_PIPE
static int
FILE_TYPE_REMOTE
static int
FILE_TYPE_UNKNOWN
static int
INFINITE
static int
NORMAL_PRIORITY_CLASS
static int
PROCESS_QUERY_INFORMATION
static int
STD_ERROR_HANDLE
static int
STD_INPUT_HANDLE
static int
STD_OUTPUT_HANDLE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
_close(int fd)
jnr.ffi.Variable<java.lang.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(java.lang.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)
boolean
CloseHandle(HANDLE handle)
HANDLE
CreateFileW(byte[] lpFileName, int dwDesiredAccess, int dwShareMode, jnr.ffi.Pointer lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, int hTemplateFile)
boolean
CreateHardLinkW(WString oldname, WString newName, WString reserved)
boolean
CreateProcessW(byte[] applicationName, java.nio.ByteBuffer buffer, WindowsSecurityAttributes processAttributes, WindowsSecurityAttributes threadAttributes, int inheritHandles, int creationFlags, jnr.ffi.Pointer envp, byte[] currentDirectory, WindowsStartupInfo startupInfo, WindowsProcessInformation processInformation)
int
FileTimeToSystemTime(FileTime fileTime, SystemTime systemTime)
int
FindClose(HANDLE handle)
HANDLE
FindFirstFileW(byte[] wpath, WindowsFindData findData)
HANDLE
FindFirstFileW(WString wpath, WindowsFindData findData)
boolean
GetComputerNameW(java.nio.ByteBuffer lpBuffer, jnr.ffi.byref.IntByReference nSize)
boolean
GetExitCodeProcess(HANDLE handle, jnr.ffi.byref.IntByReference exitCode)
boolean
GetExitCodeProcess(HANDLE handle, jnr.ffi.Pointer exitCode)
int
GetFileAttributesExW(byte[] path, int infoLevel, WindowsFileInformation fileInformation)
int
GetFileAttributesExW(WString path, int infoLevel, WindowsFileInformation fileInformation)
int
GetFileAttributesW(WString path)
int
GetFileInformationByHandle(HANDLE handle, WindowsByHandleFileInformation fileInformation)
int
GetFileSize(HANDLE handle, jnr.ffi.byref.IntByReference outSizeHigh)
int
GetFileType(HANDLE handle)
HANDLE
GetStdHandle(int stdHandle)
HANDLE
OpenProcess(int desiredAccess, int inheritHandle, int processId)
boolean
RemoveDirectoryW(WString path)
boolean
SetEnvironmentVariableW(WString envName, WString envValue)
int
SetFileAttributesW(WString path, int flags)
boolean
SetFileTime(HANDLE hFile, FileTime lpCreationTime, FileTime lpLastAccessTime, FileTime lpLastWriteTime)
int
WaitForSingleObject(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(java.lang.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, java.nio.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(java.nio.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<java.lang.Long> _environ()
-
-