summaryrefslogtreecommitdiff
path: root/usr/src/man/man3head
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@fingolfin.org>2020-10-22 15:56:51 -0700
committerRobert Mustacchi <rm@fingolfin.org>2020-11-17 08:52:10 -0800
commit350ffdd54baf880f440ddf9697666e283894ded1 (patch)
tree938d79d2ad158d809fa15d80774e56b68056a434 /usr/src/man/man3head
parent7fdea60d55a95f0e46066fd021c4ef1b1321bafc (diff)
downloadillumos-joyent-350ffdd54baf880f440ddf9697666e283894ded1.tar.gz
13273 want upanic(2)
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Diffstat (limited to 'usr/src/man/man3head')
-rw-r--r--usr/src/man/man3head/Makefile1
-rw-r--r--usr/src/man/man3head/upanic.h.3head41
2 files changed, 42 insertions, 0 deletions
diff --git a/usr/src/man/man3head/Makefile b/usr/src/man/man3head/Makefile
index e06cc32e57..c7889080a9 100644
--- a/usr/src/man/man3head/Makefile
+++ b/usr/src/man/man3head/Makefile
@@ -103,6 +103,7 @@ MANFILES= acct.h.3head \
ulimit.h.3head \
un.h.3head \
unistd.h.3head \
+ upanic.h.3head \
utime.h.3head \
utmpx.h.3head \
utsname.h.3head \
diff --git a/usr/src/man/man3head/upanic.h.3head b/usr/src/man/man3head/upanic.h.3head
new file mode 100644
index 0000000000..871cbbda7a
--- /dev/null
+++ b/usr/src/man/man3head/upanic.h.3head
@@ -0,0 +1,41 @@
+.\"
+.\" This file and its contents are supplied under the terms of the
+.\" Common Development and Distribution License ("CDDL"), version 1.0.
+.\" You may only use this file in accordance with the terms of version
+.\" 1.0 of the CDDL.
+.\"
+.\" A full copy of the text of the CDDL should have accompanied this
+.\" source. A copy of the CDDL is also available via the Internet at
+.\" http://www.illumos.org/license/CDDL.
+.\"
+.\"
+.\" Copyright 2020 Oxide Computer Company
+.\"
+.Dd October 31, 2020
+.Dt UPANIC.H 3HEAD
+.Os
+.Sh NAME
+.Nm upanic.h
+.Nd user panic header
+.Sh SYNOPSIS
+.In upanic.h
+.Sh DESCRIPTION
+The
+.In upanic.h
+header provides illumos-specific routines that provide a means for a
+process to terminate itself with an optional message left in a core
+file.
+.Pp
+The
+.In upanic.h
+header defines the following functions:
+.Bl -tag -width upanic
+.It Xr upanic 2
+Panic a user process with an optional message, terminating it and
+generating core files.
+.El
+.Sh INTERFACE STABILITY
+.Sy Committed
+.Sh SEE ALSO
+.Xr upanic 2 ,
+.Xr core 4