9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm new in UNIX learning. Can you please guide me. How to get start and then step by step things in Unix.
(I know all basic commands) (5 Replies)
Discussion started by: Varsha katre
5 Replies
2. UNIX for Dummies Questions & Answers
What are the career options in unix apart from unix system administration? (2 Replies)
Discussion started by: thulasidharan2k
2 Replies
3. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
4. UNIX for Dummies Questions & Answers
Hi all
I'm a beginner in Unix world.I want to know from where i should start
Book,E-Book.web site ,...etc
by the way how many version does unix have? i should install which version? How to install it? and very important,is there any simulator for training purpose? for example can i install unix... (2 Replies)
Discussion started by: ZarrinPour
2 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies
6. UNIX for Dummies Questions & Answers
I am new to Unix and want to learn it thoroughly. From where can I download books/e-books and tutorials for free of charge:confused: (2 Replies)
Discussion started by: indiansoil
2 Replies
7. UNIX for Dummies Questions & Answers
i am a total newbie...and want to learn unix....firstly...how do i get unix....if it is available on the internet then where is it?...and how do i get this to work then.....plz plz help asap...really desperate now thanx in advance (10 Replies)
Discussion started by: chaitanyamanot
10 Replies
8. Solaris
Hi,
Can anyone tell me the correct answers for these:
1. You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?
2. How do you increase the OS limitation for open files (LINUX and/or Solaris)?
Thanks:p (1 Reply)
Discussion started by: dreams5617
1 Replies
9. UNIX for Dummies Questions & Answers
Hello there !
I am little bit confuse about freeBSD and Sun Solaris, Susue, Mandrake.
Is freeBSD is same like Sun Solaris ? i mean if i will have freeBSD software, i can administrator same like i am administring Unix O.S ?
I want to be Unix Administrator, so if i will install freeBSD and... (3 Replies)
Discussion started by: abidmalik
3 Replies
explain_exit(3) Library Functions Manual explain_exit(3)
NAME
explain_exit - print an explanation of exit status before exiting
SYNOPSIS
#include <libexplain/libexplain.h>
void explain_exit_on_exit(void);
void explain_exit_on_error(void);
void explain_exit_cancel(void);
DESCRIPTION
The explain_exit_on_exit function may be used to have the calling program print an explanation of its exit status (the value passed to
exit(3) or the return value from main) immediately before it terminates.
The explain_exit_on_error function may be used to have the calling program print an explanation of its exit status immediately before it
terminates, if that exit status is not EXIT_SUCCESS.
The explain_exit_cancel function may be used to cancel the effect of the explain_exit_on_exit or explain_exit_on_error function.
These functions may be called multiple times, and in any order. The last called has precedence. The explanation will never be printed
more than once.
Call Exit As Normal
In order to have the explanation printed, simply call exit(3) as normal, or return from main as normal. Do not call any of these functions
in order to exit your program, they are called before you exit your program.
Caveat
This functionality is only available on systems with the on_exit(3) system call. Unfortunately, the atexit(3) system call is not suffi-
ciently capable, as it does not pass the exit status to the registered function.
SEE ALSO
exit(3) cause normal process termination
atexit(3)
register a function to be called at normal process termination
on_exit(3)
register a function to be called at normal process termination
COPYRIGHT
libexplain version 0.52
Copyright (C) 2009 Peter Miller
AUTHOR
Written by Peter Miller <pmiller@opensource.org.au>
explain_exit(3)