Package jnr.posix

Interface WindowsLibC

All Superinterfaces:
LibC

public interface WindowsLibC extends LibC
  • Field Details

  • Method Details

    • _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(WString path, FileStat stat)
    • _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)
    • CreateHardLinkW

      boolean CreateHardLinkW(WString oldname, WString newName, WString reserved)
    • CreateFileW

      HANDLE CreateFileW(byte[] lpFileName, int dwDesiredAccess, int dwShareMode, jnr.ffi.Pointer lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, int hTemplateFile)
    • SetEnvironmentVariableW

      boolean SetEnvironmentVariableW(WString envName, WString envValue)
    • 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()