Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Listxattr (0.15 sec)

  1. docs/debugging/xattr/main.go

    )
    
    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)
    	binary.LittleEndian.PutUint64(data, value)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. api/go1.1.txt

    pkg syscall (linux-386), func GetsockoptUcred(int, int, int) (*Ucred, error)
    pkg syscall (linux-386), func Getxattr(string, string, []uint8) (int, error)
    pkg syscall (linux-386), func Listxattr(string, []uint8) (int, error)
    pkg syscall (linux-386), func Pipe2([]int, int) error
    pkg syscall (linux-386), func PtraceSyscall(int, int) error
    pkg syscall (linux-386), func Removexattr(string, string) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top