| 51 | } |
| 52 | |
| 53 | type otherPty struct { |
| 54 | mutex sync.Mutex |
| 55 | closed bool |
| 56 | err error |
| 57 | pty, tty *os.File |
| 58 | opts ptyOptions |
| 59 | name string |
| 60 | } |
| 61 | |
| 62 | func (p *otherPty) control(tty *os.File, fn func(fd uintptr) error) (err error) { |
| 63 | defer func() { |
nothing calls this directly
no outgoing calls
no test coverage detected