MCPcopy Create free account
hub / github.com/distributed/sers / GetMode

Method GetMode

sers.go:48–48  ·  view source on GitHub ↗

GetMode retrieves the current mode settings. Known bug on OS X: GetMode only works after SetMode has been called before. If not, it returns an error.

()

Source from the content-addressed store, hash-verified

46 // Known bug on OS X: GetMode only works after SetMode has been called
47 // before. If not, it returns an error.
48 GetMode() (Mode, error)
49
50 // SetReadParams sets the minimum number of bytes to read and a read
51 // timeout in seconds. These parameters roughly correspond to the

Callers 1

MainFunction · 0.65

Implementers 2

baseportsers_termios.go
serialPortsers_windows.go

Calls

no outgoing calls

Tested by

no test coverage detected