mirror of https://github.com/golang/go.git
syscall: don't display syscall prototype lines on godoc
LGTM=dave R=golang-codereviews, dave CC=golang-codereviews https://golang.org/cl/110020050
This commit is contained in:
parent
9cddb48643
commit
2ca1f7d588
|
|
@ -498,6 +498,7 @@ func SysctlUint32(name string) (value uint32, err error) {
|
|||
}
|
||||
|
||||
//sys utimes(path string, timeval *[2]Timeval) (err error)
|
||||
|
||||
func Utimes(path string, tv []Timeval) (err error) {
|
||||
if len(tv) != 2 {
|
||||
return EINVAL
|
||||
|
|
@ -521,6 +522,7 @@ func UtimesNano(path string, ts []Timespec) error {
|
|||
}
|
||||
|
||||
//sys futimes(fd int, timeval *[2]Timeval) (err error)
|
||||
|
||||
func Futimes(fd int, tv []Timeval) (err error) {
|
||||
if len(tv) != 2 {
|
||||
return EINVAL
|
||||
|
|
|
|||
Loading…
Reference in New Issue