INNER CODE UNIT · Go

PTSClosed

Netflix/go-expect · expect_opt.go:309

func PTSClosed(opts *ExpectOpts) error {
	opts.Matchers = append(opts.Matchers, &pathErrorMatcher{
		pathError: os.PathError{
			Op:   "read",
			Path: "/dev/ptmx",
			Err:  syscall.Errno(0x5),
		},
	})
	return nil
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…