Commit 952b91e4 authored by Ian Lance Taylor's avatar Ian Lance Taylor Committed by Russ Cox

Add Shutdown to 32-bit GNU/Linux build.

Submitting as a TBR to fix the build.

R=dho, rsc
https://golang.org/cl/164078
parent e9a8ab03
......@@ -145,6 +145,11 @@ func Listen(s int, n int) (errno int) {
return;
}
func Shutdown(s, how int) (errno int) {
_, errno = socketcall(_SHUTDOWN, uintptr(s), uintptr(how), 0, 0, 0, 0);
return;
}
func (r *PtraceRegs) PC() uint64 { return uint64(uint32(r.Eip)) }
func (r *PtraceRegs) SetPC(pc uint64) { r.Eip = int32(pc) }
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