Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for __xuname (0.13 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    func Uname(uname *Utsname) error {
    	mib := []_C_int{CTL_KERN, KERN_OSTYPE}
    	n := unsafe.Sizeof(uname.Sysname)
    	// Suppress ENOMEM errors to be compatible with the C library __xuname() implementation.
    	if err := sysctl(mib, &uname.Sysname[0], &n, nil, 0); err != nil && !errors.Is(err, ENOMEM) {
    		return err
    	}
    
    	mib = []_C_int{CTL_KERN, KERN_HOSTNAME}
    	n = unsafe.Sizeof(uname.Nodename)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. src/archive/tar/common.go

    const (
    	paxNone     = "" // Indicates that no PAX key is suitable
    	paxPath     = "path"
    	paxLinkpath = "linkpath"
    	paxSize     = "size"
    	paxUid      = "uid"
    	paxGid      = "gid"
    	paxUname    = "uname"
    	paxGname    = "gname"
    	paxMtime    = "mtime"
    	paxAtime    = "atime"
    	paxCtime    = "ctime"   // Removed from later revision of PAX spec, but was valid
    	paxCharset  = "charset" // Currently unused
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    		if v == "" {
    			continue // Keep the original USTAR value
    		}
    		var id64 int64
    		switch k {
    		case paxPath:
    			hdr.Name = v
    		case paxLinkpath:
    			hdr.Linkname = v
    		case paxUname:
    			hdr.Uname = v
    		case paxGname:
    			hdr.Gname = v
    		case paxUid:
    			id64, err = strconv.ParseInt(v, 10, 64)
    			hdr.Uid = int(id64) // Integer overflow possible
    		case paxGid:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top