Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for lseek (0.06 sec)

  1. src/syscall/syscall_darwin.go

    	// We store the number of entries to skip in the seek
    	// offset of fd. See issue #31368.
    	// It's not the full required semantics, but should handle the case
    	// of calling Getdirentries or ReadDirent repeatedly.
    	// It won't handle assigning the results of lseek to *basep, or handle
    	// the directory being edited underfoot.
    	skip, err := Seek(fd, 0, 1 /* SEEK_CUR */)
    	if err != nil {
    		return 0, err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/syscall/syscall_aix.go

    //sys	Rename(from string, to string) (err error)
    //sys	Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
    //sys	Rmdir(path string) (err error)
    //sys	Seek(fd int, offset int64, whence int) (newoffset int64, err error) = lseek
    //sysnb	Setegid(egid int) (err error)
    //sysnb	Seteuid(euid int) (err error)
    //sysnb	Setgid(gid int) (err error)
    //sysnb	Setuid(uid int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_openbsd_arm.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_lseek_trampoline()
    
    //go:cgo_import_dynamic libc_lseek lseek "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func getcwd(buf []byte) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(buf) > 0 {
    		_p0 = unsafe.Pointer(&buf[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_aix_ppc64.go

    //go:cgo_import_dynamic libc_Rename rename "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Renameat renameat "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Rmdir rmdir "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_lseek lseek "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Setegid setegid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Seteuid seteuid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Setgid setgid "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_openbsd_riscv64.go

    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    	r0, _, e1 := syscallX(abi.FuncPCABI0(libc_lseek_trampoline), uintptr(fd), uintptr(offset), uintptr(whence))
    	newoffset = int64(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_lseek_trampoline()
    
    //go:cgo_import_dynamic libc_lseek lseek "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_openbsd_amd64.go

    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    	r0, _, e1 := syscallX(abi.FuncPCABI0(libc_lseek_trampoline), uintptr(fd), uintptr(offset), uintptr(whence))
    	newoffset = int64(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_lseek_trampoline()
    
    //go:cgo_import_dynamic libc_lseek lseek "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_openbsd_arm64.go

    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    	r0, _, e1 := syscallX(abi.FuncPCABI0(libc_lseek_trampoline), uintptr(fd), uintptr(offset), uintptr(whence))
    	newoffset = int64(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_lseek_trampoline()
    
    //go:cgo_import_dynamic libc_lseek lseek "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_ppc64.go

    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    	r0, _, e1 := syscallX(abi.FuncPCABI0(libc_lseek_trampoline), uintptr(fd), uintptr(offset), uintptr(whence))
    	newoffset = int64(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_lseek_trampoline()
    
    //go:cgo_import_dynamic libc_lseek lseek "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_386.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_lseek_trampoline()
    
    //go:cgo_import_dynamic libc_lseek lseek "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func getcwd(buf []byte) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(buf) > 0 {
    		_p0 = unsafe.Pointer(&buf[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	// It's not the full required semantics, but should handle the case
    	// of calling Getdirentries or ReadDirent repeatedly.
    	// It won't handle assigning the results of lseek to *basep, or handle
    	// the directory being edited underfoot.
    
    	skip, err := Seek(fd, 0, 1 /* SEEK_CUR */)
    	if err != nil {
    		return 0, err
    	}
    
    	// Get path from fd to avoid unavailable call (fdopendir)
    	path, err := ZosFdToPath(fd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top