Skip to content

Commit

Permalink
unix: add POLLRDHUP to FreeBSD
Browse files Browse the repository at this point in the history
POLLRDHUP is a poll(2) event applicable to stream sockets that notifies
when a remote peer closes a connection.

Change-Id: I03a192426f89bbd08fb27dda2716ffb888043c92
Reviewed-on: https://go-review.googlesource.com/c/sys/+/607797
Auto-Submit: Ian Lance Taylor <[email protected]>
Reviewed-by: Cherry Mui <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
  • Loading branch information
elindsey authored and gopherbot committed Aug 23, 2024
1 parent 3283fc3 commit 71132f5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions unix/types_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ const (
POLLRDNORM = C.POLLRDNORM
POLLWRBAND = C.POLLWRBAND
POLLWRNORM = C.POLLWRNORM
POLLRDHUP = C.POLLRDHUP
)

// Capabilities
Expand Down
1 change: 1 addition & 0 deletions unix/ztypes_freebsd_386.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions unix/ztypes_freebsd_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions unix/ztypes_freebsd_arm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions unix/ztypes_freebsd_arm64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions unix/ztypes_freebsd_riscv64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 71132f5

Please sign in to comment.