Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for EPIPE (0.08 sec)

  1. src/syscall/tables_wasip1.go

    	ENOTSOCK        Errno = 57
    	ENOTSUP         Errno = 58
    	ENOTTY          Errno = 59
    	ENXIO           Errno = 60
    	EOVERFLOW       Errno = 61
    	EOWNERDEAD      Errno = 62
    	EPERM           Errno = 63
    	EPIPE           Errno = 64
    	EPROTO          Errno = 65
    	EPROTONOSUPPORT Errno = 66
    	EPROTOTYPE      Errno = 67
    	ERANGE          Errno = 68
    	EROFS           Errno = 69
    	ESPIPE          Errno = 70
    	ESRCH           Errno = 71
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcarchive/testdata/main5.c

    			}
    
    			int fd[2];
    			if (pipe(fd) != 0) {
    				printf("pipe(2) failed\n");
    				return 0;
    			}
    			// Close the reading end.
    			close(fd[0]);
    			// Expect that write(2) fails (EPIPE)
    			if (write(fd[1], "some data", 9) != -1) {
    				printf("write(2) unexpectedly succeeded\n");
    				return 0;
    			}
    			printf("did not receive SIGPIPE\n");
    			return 0;
    		}
    		case 4: {
    			fprintf(stderr, "OK\n");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/runtime/netpoll_kqueue.go

    			// will wake up a goroutine waiting to write;
    			// that goroutine will try the write again,
    			// and the appropriate thing will happen based
    			// on what that write returns (success, EPIPE, EAGAIN).
    			if ev.flags&_EV_EOF != 0 {
    				mode += 'w'
    			}
    		case _EVFILT_WRITE:
    			mode += 'w'
    		}
    		if mode != 0 {
    			var pd *pollDesc
    			var tag uintptr
    			if goarch.PtrSize == 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/syscall/exec_unix.go

    		if err != EINTR {
    			break
    		}
    	}
    	Close(p[0])
    	if err != nil || n != 0 {
    		if n == int(unsafe.Sizeof(err1)) {
    			err = Errno(err1)
    		}
    		if err == nil {
    			err = EPIPE
    		}
    
    		// Child failed; wait for it to exit, to make sure
    		// the zombies don't accumulate.
    		_, err1 := Wait4(pid, &wstatus, 0, nil)
    		for err1 == EINTR {
    			_, err1 = Wait4(pid, &wstatus, 0, nil)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top