DirectNET

Data Center Management Solutions including UPS Systems, Data Center Cooling, KVM over IP & IP Power Strips, Server Racks and Server Rack accessories; KVM Switches and KVM Extenders; Rackmount Monitors and Rackmount Keyboards.


NAVIGATION
Home
Store
INSIDE MAC
Television Shows
Broadcast Shows
Daily News Shows
Special Shows
EVENTS
DAILY TIPS
Design
Mac OS X
Mac OS X UNIX
COMMUNITY
Forums
Surveys
NEWS
Current
Press
Archive
FEATURES
Editorial
Dr. Mac
Reviews
Reader Reports
RESOURCES
FAQ
Documentation
Learning Center
MAN pages
Glossary
Tutorials
Tips
Links

OUR PARTNERS


     #include <sys/param.h>


DESCRIPTION

     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 available debuggers.  (See
     sigaction(2).)  This memory image is written to a file named
     programname.core in the working directory; provided the terminated pro-
     cess had write permission in the directory, and provided the abnormality
     did not cause a system crash.  (In this event, the decision to save the
     core file is arbitrary, see savecore(8).)

     The maximum size of a programname.core file is limited by setrlimit(2).
     Files which would be larger than the limit are not created.

     The programname.core file consists of the u. area, whose size (in pages)
     is defined by the UPAGES manifest in the <sys/param.h> file.  The u. area
     starts with a user structure as given in <sys/user.h>. The remainder of
     the programname.core file consists of the data pages followed by the
     stack pages of the process image.  The amount of data space image in the
     programname.core file is given (in pages) by the variable u_dsize in the
     u. area.  The amount of stack image in the core file is given (in pages)
     by the variable u_ssize in the u. area.  The size of a ``page'' is given
     by the constant NBPG (also from <sys/param.h>).


SEE ALSO

     adb(1),  dbx(1),  gdb(1),  kgdb(1),  sigaction(2),  setrlimit(2)


HISTORY

     A core file format appeared in Version 6 AT&T UNIX.

4th Berkeley Distribution      December 11, 1993                             1

Copyright © 2000-2008 Inside Mac Media, Inc. All rights reserved.
Apple assumes no responsibility with regard to the selection, performance, or use of the products or services. All understandings, agreements, or warranties, if any, take place directly between the vendors and prospective users.
Apple, the Apple logo, Mac, PowerMac G4, PowerMac G5, Xserve, Xserve RAID, PowerBook, iBook, Airport, AirPort Extreme, iMac, eMac, iLife, iMovie, iCal, iPhoto, iTunes, QuickTime, FireWire, iPod, iSight, AppleWorks, Macintosh, Jaguar, Panther, Mac OS, Mac OS X and Mac OS X Server are trademarks of Apple Computer, Inc.