Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for EPIPE (0.05 sec)

  1. src/os/pipe_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := r.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	expect := syscall.EPIPE
    	if runtime.GOOS == "windows" {
    		// 232 is Windows error code ERROR_NO_DATA, "The pipe is being closed".
    		expect = syscall.Errno(232)
    	}
    	// Every time we write to the pipe we should get an EPIPE.
    	for i := 0; i < 20; i++ {
    		_, err = w.Write([]byte("hi"))
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. src/os/signal/doc.go

    to a broken pipe on some other file descriptor will take no action on
    the SIGPIPE signal, and the write will fail with an EPIPE error.
    
    If the program has called Notify to receive SIGPIPE signals, the file
    descriptor number does not matter. The SIGPIPE signal will be
    delivered to the Notify channel, and the write will fail with an EPIPE
    error.
    
    This means that, by default, command line programs will behave like
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/os/file_unix.go

    	return f
    }
    
    func sigpipe() // implemented in package runtime
    
    // epipecheck raises SIGPIPE if we get an EPIPE error on standard
    // output or standard error. See the SIGPIPE docs in os/signal, and
    // issue 11845.
    func epipecheck(file *File, e error) {
    	if e == syscall.EPIPE && file.stdoutOrErr {
    		sigpipe()
    	}
    }
    
    // DevNull is the name of the operating system's “null device.”
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go

    	{27, "EFBIG", "file too large"},
    	{28, "ENOSPC", "no space left on device"},
    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "ENOMSG", "no message of desired type"},
    	{36, "EIDRM", "identifier removed"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	{27, "EFBIG", "file too large"},
    	{28, "ENOSPC", "no space left on device"},
    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	{27, "EFBIG", "file too large"},
    	{28, "ENOSPC", "no space left on device"},
    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go

    	{27, "EFBIG", "file too large"},
    	{28, "ENOSPC", "no space left on device"},
    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go

    	{27, "EFBIG", "file too large"},
    	{28, "ENOSPC", "no space left on device"},
    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go

    	{27, "EFBIG", "file too large"},
    	{28, "ENOSPC", "no space left on device"},
    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go

    	{27, "EFBIG", "file too large"},
    	{28, "ENOSPC", "no space left on device"},
    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "ENOMSG", "no message of desired type"},
    	{36, "EIDRM", "identifier removed"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top