Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for writeConsole (0.33 sec)

  1. src/internal/poll/fd_windows.go

    			})
    		}
    		ntotal += n
    		if err != nil {
    			return ntotal, err
    		}
    		buf = buf[n:]
    	}
    	return ntotal, nil
    }
    
    // writeConsole writes len(b) bytes to the console File.
    // It returns the number of bytes written and an error, if any.
    func (fd *FD) writeConsole(b []byte) (int, error) {
    	n := len(b)
    	runes := make([]rune, 0, 256)
    	if len(fd.lastbits) > 0 {
    		b = append(fd.lastbits, b...)
    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/runtime/os_windows.go

    		// If this is a console output, various non-unicode code pages can be in use.
    		// Use the dedicated WriteConsole call to ensure unicode is printed correctly.
    		if isConsole {
    			return int32(writeConsole(handle, buf, n))
    		}
    	}
    	var written uint32
    	stdcall5(_WriteFile, handle, uintptr(buf), uintptr(n), uintptr(unsafe.Pointer(&written)), 0)
    	return int32(written)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_windows.go

    	r0, _, e1 := Syscall(procWaitForSingleObject.Addr(), 2, uintptr(handle), uintptr(waitMilliseconds), 0)
    	event = uint32(r0)
    	if event == 0xffffffff {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func WriteConsole(console Handle, buf *uint16, towrite uint32, written *uint32, reserved *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 (1)
  4. src/syscall/syscall_windows.go

    //sys	getCurrentProcessId() (pid uint32) = kernel32.GetCurrentProcessId
    //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	setConsoleCursorPosition(console Handle, position uint32) (err error) = kernel32.SetConsoleCursorPosition
    //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: 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

    	event = uint32(r0)
    	if event == 0xffffffff {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func WriteConsole(console Handle, buf *uint16, towrite uint32, written *uint32, reserved *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

    		{"Win32finddata.LastAccessTime", Field, 0},
    		{"Win32finddata.LastWriteTime", Field, 0},
    		{"Win32finddata.Reserved0", Field, 0},
    		{"Win32finddata.Reserved1", Field, 0},
    		{"Write", Func, 0},
    		{"WriteConsole", Func, 1},
    		{"WriteFile", Func, 0},
    		{"X509_ASN_ENCODING", Const, 0},
    		{"XCASE", Const, 0},
    		{"XP1_CONNECTIONLESS", Const, 2},
    		{"XP1_CONNECT_DATA", Const, 2},
    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 UTF16FromString(string) ([]uint16, error)
    pkg syscall (windows-386), func UTF16PtrFromString(string) (*uint16, error)
    pkg syscall (windows-386), func WriteConsole(Handle, *uint16, uint32, *uint32, *uint8) error
    pkg syscall (windows-386), type AddrinfoW struct
    pkg syscall (windows-386), type AddrinfoW struct, Addr uintptr
    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