Lines Matching refs:syscall
11 "syscall"
23 f, err := syscall.Open(name, syscall.O_RDONLY)
27 defer syscall.Close(f)
34 n, err = syscall.Read(f, buf[:])
46 fd, err := syscall.Open(name, syscall.O_RDONLY)
54 syscall.Close(int(fd))
62 if _, err := syscall.Seek(int(fd), int64(off), whence); err != nil {
66 m, err := syscall.Read(int(fd), buf)