Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 148 for getdents (0.14 sec)

  1. src/syscall/zsyscall_solaris_amd64.go

    //go:cgo_import_dynamic libc_Fchown fchown "libc.so"
    //go:cgo_import_dynamic libc_Fpathconf fpathconf "libc.so"
    //go:cgo_import_dynamic libc_Fstat fstat "libc.so"
    //go:cgo_import_dynamic libc_Getdents getdents "libc.so"
    //go:cgo_import_dynamic libc_Getgid getgid "libc.so"
    //go:cgo_import_dynamic libc_Getpid getpid "libc.so"
    //go:cgo_import_dynamic libc_Geteuid geteuid "libc.so"
    //go:cgo_import_dynamic libc_Getegid getegid "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:09:10 UTC 2023
    - 37.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    func ReadDirent(fd int, buf []byte) (n int, err error) {
    	// Final argument is (basep *uintptr) and the syscall doesn't take nil.
    	// TODO(rsc): Can we use a single global basep for all calls?
    	return Getdents(fd, buf, new(uintptr))
    }
    
    // Wait status is 7 bits at bottom, either 0 (exited),
    // 0x7F (stopped), or a signal number that caused an exit.
    // The 0x80 bit is whether there was a core dump.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  3. src/syscall/zsysnum_dragonfly_amd64.go

    	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, \
    	SYS_GETDENTS               = 480 // { int getdents(int fd, char *buf, size_t count); }
    	SYS_USCHED_SET             = 481 // { int usched_set(pid_t pid, int cmd, void *data, \
    	SYS_EXTACCEPT              = 482 // { int extaccept(int s, int flags, caddr_t name, int *anamelen); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 22.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go

    	reclen, ok := direntReclen(buf)
    	if !ok {
    		return 0, false
    	}
    	return reclen - uint64(unsafe.Offsetof(Dirent{}.Name)), true
    }
    
    //sys	getdirent(fd int, buf []byte) (n int, err error)
    
    func Getdents(fd int, buf []byte) (n int, err error) {
    	return getdirent(fd, buf)
    }
    
    //sys	wait4(pid Pid_t, status *_C_int, options int, rusage *Rusage) (wpid Pid_t, err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    func Stat(path string, st *Stat_t) (err error) {
    	return Fstatat(AT_FDCWD, path, st, 0)
    }
    
    func Lstat(path string, st *Stat_t) (err error) {
    	return Fstatat(AT_FDCWD, path, st, AT_SYMLINK_NOFOLLOW)
    }
    
    func Getdents(fd int, buf []byte) (n int, err error) {
    	return Getdirentries(fd, buf, nil)
    }
    
    func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
    	if basep == nil || unsafe.Sizeof(*basep) == 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. src/syscall/zsysnum_freebsd_arm.go

    	SYS_ISSETUGID                = 253 // { int issetugid(void); }
    	SYS_LCHOWN                   = 254 // { int lchown(char *path, int uid, int gid); }
    	SYS_GETDENTS                 = 272 // { int getdents(int fd, char *buf, \
    	SYS_LCHMOD                   = 274 // { int lchmod(char *path, mode_t mode); }
    	SYS_LUTIMES                  = 276 // { int lutimes(char *path, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  7. src/syscall/syscall_linux.go

    func Reboot(cmd int) (err error) {
    	return reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, cmd, "")
    }
    
    func ReadDirent(fd int, buf []byte) (n int, err error) {
    	return Getdents(fd, buf)
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  8. src/syscall/zsysnum_netbsd_amd64.go

    	SYS_LREMOVEXATTR         = 385 // { int|sys||lremovexattr(const char *path, const char *name); }
    	SYS_FREMOVEXATTR         = 386 // { int|sys||fremovexattr(int fd, const char *name); }
    	SYS_GETDENTS             = 390 // { int|sys|30|getdents(int fd, char *buf, size_t count); }
    	SYS_SOCKET               = 394 // { int|sys|30|socket(int domain, int type, int protocol); }
    	SYS_GETFH                = 395 // { int|sys|30|getfh(const char *fname, void *fhp, size_t *fh_size); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 25.7K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_netbsd_arm.go

    	SYS_LREMOVEXATTR         = 385 // { int|sys||lremovexattr(const char *path, const char *name); }
    	SYS_FREMOVEXATTR         = 386 // { int|sys||fremovexattr(int fd, const char *name); }
    	SYS_GETDENTS             = 390 // { int|sys|30|getdents(int fd, char *buf, size_t count); }
    	SYS_SOCKET               = 394 // { int|sys|30|socket(int domain, int type, int protocol); }
    	SYS_GETFH                = 395 // { int|sys|30|getfh(const char *fname, void *fhp, size_t *fh_size); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 25.7K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_arm.go

    	}
    	return
    }
    
    func libc_accept4_trampoline()
    
    //go:cgo_import_dynamic libc_accept4 accept4 "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func getdents(fd int, 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)
Back to top