(See
.Xr sigaction 2 . )
This memory image is written to a file named by default
-.Nm core.pid
+.Pa core.pid ,
+where
+.Va pid
+is the process ID of the process,
in the
-.Nm /cores
-directory;
+.Pa /cores
+directory,
provided the terminated process had write permission in the directory,
and the directory existed.
.Pp
Files which would be larger than the limit are not created.
.Pp
The core file consists of the
-.Pa Xr Mach-O 5
+.Xr Mach-O 5
header as described in the
.Aq Pa mach-o/loader.h
file.
.Xr Mach-O 5
header.
.Sh NOTE
-Core dumps are disabled by default under Darwin/Mac OS X. To re-enable core dumps, a
-privlaged user must edit
+Core dumps are disabled by default under Darwin/Mac OS X. To re-enable
+core dumps, a privileged user must edit
.Pa /etc/hostconfig
to contain the line:
.Bd -literal