Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 258 for fd (0.11 sec)

  1. src/syscall/zsyscall_netbsd_386.go

    func futimes(fd int, timeval *[2]Timeval) (err error) {
    	_, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func fcntl(fd int, cmd int, arg int) (val int, err error) {
    	r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 30.1K bytes
    - Viewed (0)
  2. src/syscall/zsyscall_linux_mips64.go

    func Close(fd int) (err error) {
    	_, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(oldfd int) (fd int, err error) {
    	r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
    	fd = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 40.3K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_linux_ppc64.go

    func Close(fd int) (err error) {
    	_, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(oldfd int) (fd int, err error) {
    	r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
    	fd = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 41K bytes
    - Viewed (0)
  4. src/os/file_unix.go

    // (as passed in the kind parameter) it tries to add the file to
    // the runtime poller.
    func newFile(fd int, name string, kind newFileKind, nonBlocking bool) *File {
    	f := &File{&file{
    		pfd: poll.FD{
    			Sysfd:         fd,
    			IsStream:      true,
    			ZeroReadIsEOF: true,
    		},
    		name:        name,
    		stdoutOrErr: fd == 1 || fd == 2,
    	}}
    
    	pollable := kind == kindOpenFile || kind == kindPipe || kind == kindSock || nonBlocking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_aix_ppc64.go

    func Close(fd int) (err error) {
    	_, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_Close)), 1, uintptr(fd), 0, 0, 0, 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(fd int) (nfd int, err error) {
    	r0, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_Dup)), 1, uintptr(fd), 0, 0, 0, 0, 0)
    	nfd = int(r0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go

    func ioctl(fd int, req uint, arg uintptr) (err error) {
    	_, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
    	_, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 44.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go

    func ioctl(fd int, req uint, arg uintptr) (err error) {
    	_, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
    	_, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 43.9K bytes
    - Viewed (0)
  8. src/os/file_plan9.go

    func (f *File) Fd() uintptr {
    	if f == nil {
    		return ^(uintptr(0))
    	}
    	return uintptr(f.fd)
    }
    
    // NewFile returns a new File with the given file descriptor and
    // name. The returned value will be nil if fd is not a valid file
    // descriptor.
    func NewFile(fd uintptr, name string) *File {
    	fdi := int(fd)
    	if fdi < 0 {
    		return nil
    	}
    	f := &File{&file{fd: fdi, name: name}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_solaris_amd64.go

    func Close(fd int) (err error) {
    	_, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&libc_Close)), 1, uintptr(fd), 0, 0, 0, 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(fd int) (nfd int, err error) {
    	r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&libc_Dup)), 1, uintptr(fd), 0, 0, 0, 0, 0)
    	nfd = int(r0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:09:10 UTC 2023
    - 37.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go

    func Fstatfs(fd int, buf *Statfs_t) (err error) {
    	_, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Ftruncate(fd int, length int64) (err error) {
    	_, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top