Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ReadConsole (0.36 sec)

  1. src/internal/poll/fd_windows.go

    	if len(buf) != 0 {
    		err = fd.eofError(n, err)
    	}
    	return n, err
    }
    
    var ReadConsole = syscall.ReadConsole // changed for testing
    
    // readConsole reads utf16 characters from console File,
    // encodes them into utf8 and stores them in buffer b.
    // It returns the number of utf8 bytes read and an error, if any.
    func (fd *FD) readConsole(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. src/os/os_windows_test.go

    	if err = os.Chmod(p, 0400); err != nil {
    		t.Fatal(err)
    	}
    	if err = os.Remove(p); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestReadStdin(t *testing.T) {
    	old := poll.ReadConsole
    	defer func() {
    		poll.ReadConsole = old
    	}()
    
    	p, err := syscall.GetCurrentProcess()
    	if err != nil {
    		t.Fatalf("Unable to get handle to current process: %v", err)
    	}
    	var stdinDuplicate syscall.Handle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_windows.go

    	r1, _, e1 := Syscall(procProcess32NextW.Addr(), 2, uintptr(snapshot), uintptr(unsafe.Pointer(procEntry)), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func ReadConsole(console Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  4. src/syscall/syscall_windows.go

    //sys	GetConsoleMode(console Handle, mode *uint32) (err error) = kernel32.GetConsoleMode
    //sys	WriteConsole(console Handle, buf *uint16, towrite uint32, written *uint32, reserved *byte) (err error) = kernel32.WriteConsoleW
    //sys	ReadConsole(console Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) (err error) = kernel32.ReadConsoleW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	WriteConsole(console Handle, buf *uint16, towrite uint32, written *uint32, reserved *byte) (err error) = kernel32.WriteConsoleW
    //sys	ReadConsole(console Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) (err error) = kernel32.ReadConsoleW
    //sys	resizePseudoConsole(pconsole Handle, size uint32) (hr error) = kernel32.ResizePseudoConsole
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func ReadConsole(console Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"RawSockaddrUnix.Len", Field, 0},
    		{"RawSockaddrUnix.Pad_cgo_0", Field, 2},
    		{"RawSockaddrUnix.Path", Field, 0},
    		{"RawSyscall", Func, 0},
    		{"RawSyscall6", Func, 0},
    		{"Read", Func, 0},
    		{"ReadConsole", Func, 1},
    		{"ReadDirectoryChanges", Func, 0},
    		{"ReadDirent", Func, 0},
    		{"ReadFile", Func, 0},
    		{"Readlink", Func, 0},
    		{"Reboot", Func, 0},
    		{"Recvfrom", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg syscall (windows-386), func LoadCancelIoEx() error
    pkg syscall (windows-386), func LoadConnectEx() error
    pkg syscall (windows-386), func LoadGetAddrInfo() error
    pkg syscall (windows-386), func ReadConsole(Handle, *uint16, uint32, *uint32, *uint8) error
    pkg syscall (windows-386), func UTF16FromString(string) ([]uint16, error)
    pkg syscall (windows-386), func UTF16PtrFromString(string) (*uint16, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top