Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkIsPipe (0.15 sec)

  1. src/runtime/nbpipe_test.go

    	// NonblockingPipe is the test name for nonblockingPipe.
    	r, w, errno := runtime.NonblockingPipe()
    	if errno != 0 {
    		t.Fatal(syscall.Errno(errno))
    	}
    	defer runtime.Close(w)
    
    	checkIsPipe(t, r, w)
    	checkNonblocking(t, r, "reader")
    	checkCloseonexec(t, r, "reader")
    	checkNonblocking(t, w, "writer")
    	checkCloseonexec(t, w, "writer")
    
    	// Test that fcntl returns an error as expected.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 20:32:54 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top