Commit 6dac5502 authored by Mikio Hara's avatar Mikio Hara

syscall: don't display syscall prototype lines on godoc

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/90810045
parent d873e642
......@@ -333,6 +333,7 @@ func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
}
//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) = libsocket.accept
func Accept(fd int) (nfd int, sa Sockaddr, err error) {
var rsa RawSockaddrAny
var len _Socklen = SizeofSockaddrAny
......@@ -386,6 +387,7 @@ func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
}
//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.sendmsg
func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
var ptr unsafe.Pointer
var salen _Socklen
......
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