Unix and Linux Discussions Tagged with place |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
8,065 |
What is on Your Mind? |
|
|
|
13 |
4,254 |
Shell Programming and Scripting |
|
|
|
0 |
1,088 |
UNIX and Linux RSS News |
|
|
|
1 |
2,237 |
Shell Programming and Scripting |
|
|
|
0 |
2,973 |
Solaris |
|
|
|
14 |
7,838 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,951 |
Shell Programming and Scripting |
|
|
|
5 |
50,345 |
Shell Programming and Scripting |
|
|
|
6 |
3,665 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
38,813 |
UNIX for Dummies Questions & Answers |
|
|
|
9 |
26,963 |
Where do I download LINUX & UNIX? |
|
|
|
1 |
3,183 |
UNIX for Dummies Questions & Answers |
|
|
|
13 |
10,880 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
6,946 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,248 |
Cybersecurity |
|
|
|
1 |
2,187 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,167 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,008 |
Programming |
|
|
|
4 |
7,938 |
IP Networking |
|
|
|
2 |
4,589 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
2,476 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,079 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
11,615 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,701 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
20,112 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,095 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
4,053 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,446 |
Programming |
|
|
|
3 |
3,327 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
9,153 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
13,576 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,008 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,517 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
6,323 |
HP-UX |
|
|
|
4 |
2,985 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
2 |
11,550 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
5,586 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,416 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,291 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
2 |
2,594 |
UNIX for Dummies Questions & Answers |
NFABORT(3) Library Functions Manual NFABORT(3)
NAME
nfabort - dump core and log it in a notesfile
SYNOPSIS
nfabort ( notesfile, message, title, cname, exitcode )
char *notesfile, *message, *title, *cname, exitcode
cc ... -lnfcom
DESCRIPTION
Nfabort provides user programs with a convenient way to generate a core image, move it to a save place, and log the action in a notesfile.
The notesfile parameter specifies the notesfile to receive a copy of the string message with a line appended detailing the final resting
place of the core image. The text is inserted into the notesfile as a base note with title taken from the parameter list. Cname is the
prefix of the pathname of where to place the core image. This is suffixed with ``.integer'' to yield the full pathname. The integer is
generated from the pid of the current process.
After generating and saving the core image and placing the message in the notesfile, nfabort terminates the current process with the exit
code specified by the exitcode parameter.
Nfabort calls nfcomment to insert the message into the notesfile.
BUGS
Certain conditions, such as running out of memory, will cause nfabort to fail.
Nfabort will fail to log the message if it can't fork a child process.
The final resting place of the core image will not be logged if nfabort can't allocate memory for temporary strings.
FILES
/usr/lib/libnfcom.a -lnfcom library
SEE ALSO
malloc(3), nfcomment(3), nfpipe(1), notes(1), popen(3S), system(3),
The Notesfile Reference Manual
AUTHORS
Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa)
Department of Computer Science
University of Illinois at Urbana-Champaign
Urbana, IL
University of Illinois NFABORT(3)