Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/syscall/syscall_unix_test.go

    // roundtripped with F_SETLK and F_GETLK.
    func TestFcntlFlock(t *testing.T) {
    	if runtime.GOOS == "ios" {
    		t.Skip("skipping; no child processes allowed on iOS")
    	}
    	flock := syscall.Flock_t{
    		Type:  syscall.F_WRLCK,
    		Start: 31415, Len: 271828, Whence: 1,
    	}
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "" {
    		// parent
    		tempDir := t.TempDir()
    		name := filepath.Join(tempDir, "TestFcntlFlock")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 9.4K bytes
    - Viewed (0)
Back to top