Package jnr.posix

Interface WindowsLibC

  • All Superinterfaces:
    LibC

    public interface WindowsLibC
    extends LibC
    • 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)
      • OpenProcess

        HANDLE OpenProcess​(int desiredAccess,
                           int inheritHandle,
                           int processId)
      • FileTimeToSystemTime

        int FileTimeToSystemTime​(FileTime fileTime,
                                 SystemTime systemTime)
      • GetFileAttributesW

        int GetFileAttributesW​(WString path)
      • GetFileAttributesExW

        int GetFileAttributesExW​(byte[] path,
                                 int infoLevel,
                                 WindowsFileInformation fileInformation)
      • SetFileAttributesW

        int SetFileAttributesW​(WString path,
                               int flags)
      • FindClose

        int FindClose​(HANDLE handle)
      • 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)
      • SetEnvironmentVariableW

        boolean SetEnvironmentVariableW​(WString envName,
                                        WString envValue)
      • GetComputerNameW

        boolean GetComputerNameW​(java.nio.ByteBuffer lpBuffer,
                                 jnr.ffi.byref.IntByReference nSize)
      • CloseHandle

        boolean CloseHandle​(HANDLE handle)
      • WaitForSingleObject

        int WaitForSingleObject​(HANDLE handle,
                                int milliseconds)
      • _environ

        jnr.ffi.Variable<java.lang.Long> _environ()