Commit 2ca1f7d5 authored by Mikio Hara's avatar Mikio Hara

syscall: don't display syscall prototype lines on godoc

LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/110020050
parent 9cddb486
...@@ -498,6 +498,7 @@ func SysctlUint32(name string) (value uint32, err error) { ...@@ -498,6 +498,7 @@ func SysctlUint32(name string) (value uint32, err error) {
} }
//sys utimes(path string, timeval *[2]Timeval) (err error) //sys utimes(path string, timeval *[2]Timeval) (err error)
func Utimes(path string, tv []Timeval) (err error) { func Utimes(path string, tv []Timeval) (err error) {
if len(tv) != 2 { if len(tv) != 2 {
return EINVAL return EINVAL
...@@ -521,6 +522,7 @@ func UtimesNano(path string, ts []Timespec) error { ...@@ -521,6 +522,7 @@ func UtimesNano(path string, ts []Timespec) error {
} }
//sys futimes(fd int, timeval *[2]Timeval) (err error) //sys futimes(fd int, timeval *[2]Timeval) (err error)
func Futimes(fd int, tv []Timeval) (err error) { func Futimes(fd int, tv []Timeval) (err error) {
if len(tv) != 2 { if len(tv) != 2 {
return EINVAL return EINVAL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment