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 intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic 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) intintintintintbooleanCloseHandle(HANDLE handle) CreateFileW(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) intFindFirstFileW(byte[] wpath, WindowsFindData findData) FindFirstFileW(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) GetStdHandle(int stdHandle) OpenProcess(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 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()
-