Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(545)

Delta Between Two Patch Sets: src/pkg/syscall/ztypes_windows.go

Issue 95780046: code review 95780046: os,syscall: On Windows, recognize Control-Z for console...
Left Patch Set: Created 9 years, 11 months ago
Right Patch Set: diff -r 22dd1c22fd76 https://code.google.com/p/go/ Created 9 years, 11 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
LEFTRIGHT
(no file at all)
1 // Copyright 2011 The Go Authors. All rights reserved. 1 // Copyright 2011 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package syscall 5 package syscall
6 6
7 const ( 7 const (
8 // Windows errors. 8 // Windows errors.
9 ERROR_FILE_NOT_FOUND Errno = 2 9 ERROR_FILE_NOT_FOUND Errno = 2
10 ERROR_PATH_NOT_FOUND Errno = 3 10 ERROR_PATH_NOT_FOUND Errno = 3
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after
1035 type WSAProtocolChain struct { 1035 type WSAProtocolChain struct {
1036 ChainLen int32 1036 ChainLen int32
1037 ChainEntries [MAX_PROTOCOL_CHAIN]uint32 1037 ChainEntries [MAX_PROTOCOL_CHAIN]uint32
1038 } 1038 }
1039 1039
1040 type TCPKeepalive struct { 1040 type TCPKeepalive struct {
1041 OnOff uint32 1041 OnOff uint32
1042 Time uint32 1042 Time uint32
1043 Interval uint32 1043 Interval uint32
1044 } 1044 }
1045
1046 const (
1047 // Wincon.h
1048 ENABLE_LINE_INPUT = 0x0002
1049 ENABLE_PROCESSED_INPUT = 0x0001
1050 )
1051
1052 type ConsoleReadconsoleControl struct {
1053 Length uint32
1054 InitialChars uint32
1055 CtrlWakeupMask uint32
1056 ControlKeyState uint32
1057 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b