Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ERROR_BROKEN_PIPE (0.2 sec)

  1. src/syscall/syscall_windows.go

    }
    
    func Read(fd Handle, p []byte) (n int, err error) {
    	var done uint32
    	e := ReadFile(fd, p, &done, nil)
    	if e != nil {
    		if e == ERROR_BROKEN_PIPE {
    			// NOTE(brainman): work around ERROR_BROKEN_PIPE is returned on reading EOF from stdin
    			return 0, nil
    		}
    		return 0, e
    	}
    	return int(done), nil
    }
    
    func Write(fd Handle, p []byte) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    	return h, e
    }
    
    func Read(fd Handle, p []byte) (n int, err error) {
    	var done uint32
    	e := ReadFile(fd, p, &done, nil)
    	if e != nil {
    		if e == ERROR_BROKEN_PIPE {
    			// NOTE(brainman): work around ERROR_BROKEN_PIPE is returned on reading EOF from stdin
    			return 0, nil
    		}
    		return 0, e
    	}
    	return int(done), nil
    }
    
    func Write(fd Handle, p []byte) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ERESTART", Const, 0},
    		{"ERFKILL", Const, 0},
    		{"EROFS", Const, 0},
    		{"ERPCMISMATCH", Const, 0},
    		{"ERROR_ACCESS_DENIED", Const, 0},
    		{"ERROR_ALREADY_EXISTS", Const, 0},
    		{"ERROR_BROKEN_PIPE", Const, 0},
    		{"ERROR_BUFFER_OVERFLOW", Const, 0},
    		{"ERROR_DIR_NOT_EMPTY", Const, 8},
    		{"ERROR_ENVVAR_NOT_FOUND", Const, 0},
    		{"ERROR_FILE_EXISTS", Const, 0},
    		{"ERROR_FILE_NOT_FOUND", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top