Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsPollDescriptor (0.57 sec)

  1. src/os/exec/exec_test.go

    	os.Setenv("GODEBUG", godebug)
    
    	if os.Getenv("GO_EXEC_TEST_PID") != "" {
    		return
    	}
    	if runtime.GOOS == "windows" {
    		return
    	}
    	for fd := uintptr(3); fd <= 100; fd++ {
    		if poll.IsPollDescriptor(fd) {
    			continue
    		}
    
    		if fdtest.Exists(fd) {
    			haveUnexpectedFDs = true
    			return
    		}
    	}
    }
    
    // TestMain allows the test binary to impersonate many other binaries,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top