Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for O_DIRECTORY (0.1 sec)

  1. src/os/removeall_at.go

    // The contents of this file are not relevant for test caching.
    func openDirAt(dirfd int, name string) (*File, error) {
    	var r int
    	for {
    		var e error
    		r, e = unix.Openat(dirfd, name, O_RDONLY|syscall.O_CLOEXEC|syscall.O_DIRECTORY|syscall.O_NOFOLLOW, 0)
    		if e == nil {
    			break
    		}
    
    		// See comment in openFileNolog.
    		if e == syscall.EINTR {
    			continue
    		}
    
    		return nil, e
    	}
    
    	if !supportsCloseOnExec {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top