summaryrefslogtreecommitdiff
path: root/src/pkg/os/proc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/os/proc.go')
-rw-r--r--src/pkg/os/proc.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkg/os/proc.go b/src/pkg/os/proc.go
index 61545f445..38c436ec5 100644
--- a/src/pkg/os/proc.go
+++ b/src/pkg/os/proc.go
@@ -31,4 +31,6 @@ func Getgroups() ([]int, error) {
// Exit causes the current program to exit with the given status code.
// Conventionally, code zero indicates success, non-zero an error.
+// The program terminates immediately; deferred functions are
+// not run.
func Exit(code int) { syscall.Exit(code) }