Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for S_IFDIR (0.07 sec)

  1. cmd/is-dir-empty_linux.go

    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    	if err := syscall.Stat(dirname, &stat); err != nil {
    		return false
    	}
    	return stat.Mode&syscall.S_IFMT == syscall.S_IFDIR && stat.Nlink == 2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/archive/zip/struct.go

    	// but these seem to be the values agreed on by tools.
    	s_IFMT   = 0xf000
    	s_IFSOCK = 0xc000
    	s_IFLNK  = 0xa000
    	s_IFREG  = 0x8000
    	s_IFBLK  = 0x6000
    	s_IFDIR  = 0x4000
    	s_IFCHR  = 0x2000
    	s_IFIFO  = 0x1000
    	s_ISUID  = 0x800
    	s_ISGID  = 0x400
    	s_ISVTX  = 0x200
    
    	msdosDir      = 0x10
    	msdosReadOnly = 0x01
    )
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. api/go1.1.txt

    pkg syscall, const SOCK_RAW = 3
    pkg syscall, const SOCK_SEQPACKET = 5
    pkg syscall, const SOCK_STREAM = 1
    pkg syscall, const S_IFBLK = 24576
    pkg syscall, const S_IFCHR = 8192
    pkg syscall, const S_IFDIR = 16384
    pkg syscall, const S_IFIFO = 4096
    pkg syscall, const S_IFLNK = 40960
    pkg syscall, const S_IFREG = 32768
    pkg syscall, const S_IFSOCK = 49152
    pkg syscall, const S_IRUSR = 256
    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