1
0
mirror of https://github.com/golang/go synced 2024-11-07 23:56:16 -07:00

syscall: use deprecation convention in package comment, simplify

Change-Id: I612041d31c01d49135947796fe2a09db3e6894d4
Reviewed-on: https://go-review.googlesource.com/127657
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Brad Fitzpatrick 2018-08-02 19:34:38 +00:00
parent faadda040d
commit d9665d2381

View File

@ -18,14 +18,11 @@
// err is an operating system error describing the failure. // err is an operating system error describing the failure.
// On most systems, that error has type syscall.Errno. // On most systems, that error has type syscall.Errno.
// //
// NOTE: This package is locked down. Code outside the standard // Deprecated: this package is locked down. Callers should use the
// Go repository should be migrated to use the corresponding // corresponding package in the golang.org/x/sys repository instead.
// package in the golang.org/x/sys repository. That is also where updates // That is also where updates required by new systems or versions
// required by new systems or versions should be applied. // should be applied. See https://golang.org/s/go1.4-syscall for more
// Signal, Errno and SysProcAttr are not yet available in // information.
// golang.org/x/sys and must still be referenced from the
// syscall package. See https://golang.org/s/go1.4-syscall
// for more information.
// //
package syscall package syscall