diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/golang.org/x/sys/unix/syscall_solaris.go | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_solaris.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/syscall_solaris.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris.go b/vendor/golang.org/x/sys/unix/syscall_solaris.go index 53b8078..e478012 100644 --- a/vendor/golang.org/x/sys/unix/syscall_solaris.go +++ b/vendor/golang.org/x/sys/unix/syscall_solaris.go | |||
@@ -585,6 +585,13 @@ func Poll(fds []PollFd, timeout int) (n int, err error) { | |||
585 | return poll(&fds[0], len(fds), timeout) | 585 | return poll(&fds[0], len(fds), timeout) |
586 | } | 586 | } |
587 | 587 | ||
588 | func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { | ||
589 | if raceenabled { | ||
590 | raceReleaseMerge(unsafe.Pointer(&ioSync)) | ||
591 | } | ||
592 | return sendfile(outfd, infd, offset, count) | ||
593 | } | ||
594 | |||
588 | /* | 595 | /* |
589 | * Exposed directly | 596 | * Exposed directly |
590 | */ | 597 | */ |