Package jnr.posix
Interface WindowsLibC
- All Superinterfaces:
LibC
-
Nested Class Summary
Nested classes/interfaces inherited from interface jnr.posix.LibC
LibC.LibCSignalHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionint
_close
(int fd) jnr.ffi.Variable
<Long> _environ()
_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
int
int
int
int
boolean
CloseHandle
(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, 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
FindFirstFileW
(byte[] wpath, WindowsFindData findData) FindFirstFileW
(WString wpath, WindowsFindData findData) boolean
GetComputerNameW
(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) GetStdHandle
(int stdHandle) 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 Details
-
STD_INPUT_HANDLE
static final int STD_INPUT_HANDLE- See Also:
-
STD_OUTPUT_HANDLE
static final int STD_OUTPUT_HANDLE- See Also:
-
STD_ERROR_HANDLE
static final int STD_ERROR_HANDLE- See Also:
-
NORMAL_PRIORITY_CLASS
static final int NORMAL_PRIORITY_CLASS- See Also:
-
CREATE_UNICODE_ENVIRONMENT
static final int CREATE_UNICODE_ENVIRONMENT- See Also:
-
INFINITE
static final int INFINITE- See Also:
-
FILE_TYPE_DISK
static final int FILE_TYPE_DISK- See Also:
-
FILE_TYPE_CHAR
static final int FILE_TYPE_CHAR- See Also:
-
FILE_TYPE_PIPE
static final int FILE_TYPE_PIPE- See Also:
-
FILE_TYPE_REMOTE
static final int FILE_TYPE_REMOTE- See Also:
-
FILE_TYPE_UNKNOWN
static final int FILE_TYPE_UNKNOWN- See Also:
-
PROCESS_QUERY_INFORMATION
static final int PROCESS_QUERY_INFORMATION- See Also:
-
-
Method Details
-
_open_osfhandle
-
_get_osfhandle
-
_close
int _close(int fd) -
_getpid
int _getpid() -
_stat64
-
_umask
int _umask(int mask) -
_wmkdir
-
RemoveDirectoryW
-
_wchmod
-
_wchdir
-
_wstat64
-
_wstat64
-
_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
-
FileTimeToSystemTime
-
GetFileAttributesW
-
GetFileAttributesExW
-
GetFileAttributesExW
-
SetFileAttributesW
-
GetFileInformationByHandle
-
FindClose
-
FindFirstFileW
-
FindFirstFileW
-
GetExitCodeProcess
-
GetExitCodeProcess
-
GetFileType
-
GetFileSize
-
GetStdHandle
-
CreateHardLinkW
-
CreateFileW
HANDLE CreateFileW(byte[] lpFileName, int dwDesiredAccess, int dwShareMode, jnr.ffi.Pointer lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, int hTemplateFile) -
SetEnvironmentVariableW
-
GetComputerNameW
-
SetFileTime
-
CloseHandle
-
WaitForSingleObject
-
_environ
jnr.ffi.Variable<Long> _environ()
-