mirror of
https://github.com/golang/go
synced 2024-10-03 06:21:21 -06:00
e63ae242e6
move mal next to the other malloc functions. R=r CC=golang-dev https://golang.org/cl/1701045
17 lines
576 B
Go
17 lines
576 B
Go
// Copyright 2009 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package runtime
|
|
|
|
// Sigrecv returns a bitmask of signals that have arrived since the last call to Sigrecv.
|
|
// It blocks until at least one signal arrives.
|
|
func Sigrecv() uint32
|
|
|
|
// Signame returns a string describing the signal, or "" if the signal is unknown.
|
|
func Signame(sig int32) string
|
|
|
|
// Siginit enables receipt of signals via Sigrecv. It should typically
|
|
// be called during initialization.
|
|
func Siginit()
|