View definition

func NewSyscallError

Defined in github.com/golang/go/src/os/error.go

Description

NewSyscallError returns, as an error, a new SyscallError with the given system call name and error details. As a convenience, if err is nil, NewSyscallError returns nil.