Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / libgo / go / runtime / sig.go
blob6d560b90077de2b5ee61246c699cbbad7d34e75d
1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 package runtime
7 // Sigrecv returns a bitmask of signals that have arrived since the last call to Sigrecv.
8 // It blocks until at least one signal arrives.
9 func Sigrecv() uint32
11 // Signame returns a string describing the signal, or "" if the signal is unknown.
12 func Signame(sig int32) string
14 // Siginit enables receipt of signals via Sigrecv. It should typically
15 // be called during initialization.
16 func Siginit()