Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for getdirentries (0.43 sec)

  1. src/syscall/syscall_openbsd.go

    		panic("RawSockaddrAny too small")
    	}
    	sa, err = anyToSockaddr(&rsa)
    	if err != nil {
    		Close(nfd)
    		nfd = 0
    	}
    	return
    }
    
    //sys getdents(fd int, buf []byte) (n int, err error)
    
    func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
    	return getdents(fd, buf)
    }
    
    // TODO, see golang.org/issue/5847
    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 10:34:00 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. src/syscall/syscall_netbsd.go

    	}
    	sa, err = anyToSockaddr(&rsa)
    	if err != nil {
    		Close(nfd)
    		nfd = 0
    	}
    	return
    }
    
    //sys getdents(fd int, buf []byte) (n int, err error)
    
    func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
    	return getdents(fd, buf)
    }
    
    // TODO, see golang.org/issue/5847
    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. src/syscall/syscall_dragonfly.go

    //sys	Fstat(fd int, stat *Stat_t) (err error)
    //sys	Fstatfs(fd int, stat *Statfs_t) (err error)
    //sys	Fsync(fd int) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    //sys	Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
    //sys	Getdtablesize() (size int)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (uid int)
    //sysnb	Getgid() (gid int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_dragonfly.go

    //sys	Fstatfs(fd int, stat *Statfs_t) (err error)
    //sys	Fsync(fd int) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    //sys	Getdents(fd int, buf []byte) (n int, err error)
    //sys	Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
    //sys	Getdtablesize() (size int)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (uid int)
    //sysnb	Getgid() (gid int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/syscall/syscall_bsd.go

    	// 64 bits should be enough. (32 bits isn't even on 386). Since the
    	// actual system call is getdirentries64, 64 is a good guess.
    	// TODO(rsc): Can we use a single global basep for all calls?
    	var base = (*uintptr)(unsafe.Pointer(new(uint64)))
    	return Getdirentries(fd, buf, base)
    }
    
    // Wait status is 7 bits at bottom, either 0 (exited),
    // 0x7F (stopped), or a signal number that caused an exit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go

    	SYS_LSTAT                  = 477 // { int lstat(const char *path, struct stat *ub); }
    	SYS_FHSTAT                 = 478 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
    	SYS_GETDIRENTRIES          = 479 // { int getdirentries(int fd, char *buf, u_int count, long *basep); }
    	SYS_GETDENTS               = 480 // { int getdents(int fd, char *buf, size_t count); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go

    	SYS_FHSTAT                   = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
    	SYS_GETDIRENTRIES            = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); }
    	SYS_STATFS                   = 555 // { int statfs(char *path, struct statfs *buf); }
    	SYS_FSTATFS                  = 556 // { int fstatfs(int fd, struct statfs *buf); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go

    	SYS_FHSTAT                   = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
    	SYS_GETDIRENTRIES            = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); }
    	SYS_STATFS                   = 555 // { int statfs(char *path, struct statfs *buf); }
    	SYS_FSTATFS                  = 556 // { int fstatfs(int fd, struct statfs *buf); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	}
    
    	d.Type = uint8(st.Mode >> 24)
    	return d, err
    }
    
    func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
    	// Simulation of Getdirentries port from the Darwin implementation.
    	// COMMENTS FROM DARWIN:
    	// 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go

    	SYS_FHSTAT                   = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
    	SYS_GETDIRENTRIES            = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); }
    	SYS_STATFS                   = 555 // { int statfs(char *path, struct statfs *buf); }
    	SYS_FSTATFS                  = 556 // { int fstatfs(int fd, struct statfs *buf); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
Back to top