os.File.Fd (method)
21 uses
os (current package)
exec_posix.go#L50: sysattr.Files = append(sysattr.Files, f.Fd())
file_unix.go#L75: func (f *File) Fd() uintptr {
removeall_at.go#L59: parentFd := int(parent.Fd())
go.etcd.io/bbolt
bolt_unix.go#L18: fd := db.file.Fd()
bolt_unix.go#L46: return syscall.Flock(int(db.file.Fd()), syscall.LOCK_UN)
bolt_unix.go#L52: b, err := syscall.Mmap(int(db.file.Fd()), 0, sz, syscall.PROT_READ, syscall.MAP_SHARED|db.MmapFlags)
net
file_unix.go#L16: s, call, err := poll.DupCloseOnExec(int(f.Fd()))
src.elv.sh/pkg/cli/term
setup_unix.go#L18: fd := int(in.Fd())
setup_unix.go#L62: unix.SetNonblock(int(in.Fd()), false)
setup_unix.go#L63: unix.SetNonblock(int(out.Fd()), false)
src.elv.sh/pkg/eval/vals
equal.go#L32: return x.Fd() == yy.Fd()
hash.go#L34: return hash.UIntPtr(v.Fd())
index.go#L70: return int(f.Fd()), nil
pipe.go#L45: return fmt.Sprintf("<pipe{%v %v}>", p.ReadEnd.Fd(), p.WriteEnd.Fd())
repr.go#L58: return fmt.Sprintf("<file{%s %d}>", parse.Quote(v.Name()), v.Fd())
src.elv.sh/pkg/sys
isatty_unix.go#L11: _, err := TermiosForFd(int(file.Fd()))
waitforread_unix.go#L17: fd := int(file.Fd())
waitforread_unix.go#L26: ready[i] = fdset.IsSet(int(file.Fd()))
winsize_unix.go#L21: fd := int(file.Fd())