Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for Getxattr (0.22 sec)

  1. docs/debugging/xattr/main.go

    var (
    	path, name string
    	value      uint64
    	set, list  bool
    )
    
    func getxattr(path, name string) (uint64, error) {
    	buf, err := xattr.LGet(path, name)
    	if err != nil {
    		return 0, err
    	}
    
    	return binary.LittleEndian.Uint64(buf[:8]), nil
    }
    
    func listxattr(path string) ([]string, error) {
    	return xattr.LList(path)
    }
    
    func setxattr(path, name string, value uint64) error {
    	data := make([]byte, 8)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s

    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_GetxattrAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Getxattr(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_NanosleepAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Nanosleep(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_SetxattrAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Setxattr(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_Wait4Addr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Wait4(SB), R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go

    	}
    	return destp
    }
    
    //sys	getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error)
    
    func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
    	return getxattr(path, attr, xattrPointer(dest), len(dest), 0, 0)
    }
    
    func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/xattr_bsd.go

    func Getxattr(file string, attr string, dest []byte) (sz int, err error) {
    	d := initxattrdest(dest, 0)
    	destsize := len(dest)
    
    	nsid, a, err := xattrnamespace(attr)
    	if err != nil {
    		return -1, err
    	}
    
    	return ExtattrGetFile(file, nsid, a, uintptr(d), destsize)
    }
    
    func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. src/syscall/zsysnum_netbsd_amd64.go

    	SYS_SETXATTR             = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
    	SYS_LSETXATTR            = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
    	SYS_FSETXATTR            = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 25.7K bytes
    - Viewed (0)
  6. src/syscall/zsysnum_netbsd_arm.go

    	SYS_SETXATTR             = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
    	SYS_LSETXATTR            = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
    	SYS_FSETXATTR            = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 25.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go

    	SYS_SETXATTR             = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
    	SYS_LSETXATTR            = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
    	SYS_FSETXATTR            = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go

    	SYS_SETXATTR             = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
    	SYS_LSETXATTR            = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
    	SYS_FSETXATTR            = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_netbsd_arm64.go

    	SYS_SETXATTR             = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
    	SYS_LSETXATTR            = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
    	SYS_FSETXATTR            = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
    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/cmd/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go

    	SYS_SETXATTR             = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
    	SYS_LSETXATTR            = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
    	SYS_FSETXATTR            = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 25.7K bytes
    - Viewed (0)
Back to top