.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\" %sccs.include.redist.roff%
.\" @(#)core.5 8.2 (Berkeley) %G%
.Nd memory image file format
.Fd #include <sys/param.h>
A small number of signals which cause abnormal termination of a process
also cause a record of the process's in-core state to be written
to disk for later examination by one of the aviailable debuggers.
This memory image is written to a file named
in the working directory;
provided the terminated process had write permission in the directory,
and provided the abnormality did not caused
(In this event, the decision to save the core file is arbitrary, see
Files which would be larger than the limit are not created.
area, whose size (in pages) is
file consists of the data pages followed by
the stack pages of the process image.
The amount of data space image in the
file is given (in pages) by the
The amount of stack image in the core file is given (in pages) by the
The size of a ``page'' is given by the constant