1 // Copyright 2017 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // +build darwin dragonfly freebsd linux netbsd openbsd solaris
12 errEAGAIN error = syscall.EAGAIN
13 errEINVAL error = syscall.EINVAL
14 errENOENT error = syscall.ENOENT
17 // errnoErr returns common boxed Errno values, to prevent allocations
19 func errnoErr(errno syscall.Errno) error {