aboutsummaryrefslogtreecommitdiff
path: root/unix/os/doc/zpanic.hlp
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /unix/os/doc/zpanic.hlp
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'unix/os/doc/zpanic.hlp')
-rw-r--r--unix/os/doc/zpanic.hlp32
1 files changed, 32 insertions, 0 deletions
diff --git a/unix/os/doc/zpanic.hlp b/unix/os/doc/zpanic.hlp
new file mode 100644
index 00000000..cc8d3454
--- /dev/null
+++ b/unix/os/doc/zpanic.hlp
@@ -0,0 +1,32 @@
+.help zpanic May84 "System Interface"
+.ih
+NAME
+zpanic -- terminate process execution unconditionally
+.ih
+SYNOPSIS
+.nf
+zpanic (errcode, errmsg)
+
+int errcode # exit status
+packed char errmsg[] # error message
+.fi
+.ih
+DESCRIPTION
+The error message \fIerrmsg\fR is written to the process standard error
+output and the process terminates, returning \fIerrcode\fR to the parent
+process as the exit status.
+.ih
+RETURN VALUE
+This procedure does not return.
+.ih
+NOTES
+The process standard error output is not well-defined. The kernel implementor
+may hook the process standard error stream to whatever device seems most
+appropriate on the host system. If the process was spawned interactively
+this will probably be the user terminal. If the process is running in a
+batch queue a file might be a better choice. Do not confuse the process
+standard error output with the pseudofile STDERR.
+.ih
+SEE ALSO
+zclcpr, zcldpr
+.endhelp