Commit 2e800f06 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Added comment for Signal handling


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@981 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 9c436f48
......@@ -18,6 +18,7 @@ CONTENTS
INSTALLATION
SUPPORTED PLATFORMS AND 64-Bit ISSUES
DOCUMENTATION
SIGNAL HANDLING
HISTORY
ACKNOWLEDGEMENT
LICENSE
......@@ -240,6 +241,18 @@ architectures.
* Earthworm module: earthworm/nmxptool_cmd.html
nmxptool_ovr.html
- SIGNAL HANDLING
You can send the following signals to nmxptool:
Signals INT QUIT TERM : Sending these signals to nmxptool causes it
to immediately attempt to gracefully terminate.
It may take several seconds to complete exiting.
Signals ALRM : Report info about data buffer.
Signals HUP PIPE : Ignored. (SIG_IGN)
- HISTORY
Read file HISTORY for release notes.
......
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxptool_getoptlong.c,v 1.93 2008-03-28 13:21:24 mtheo Exp $
* $Id: nmxptool_getoptlong.c,v 1.94 2008-03-28 20:07:28 mtheo Exp $
*
*/
......@@ -340,6 +340,15 @@ Other arguments:\n\
-h, --help Print this help.\n\
\n");
nmxp_log(NMXP_LOG_NORM_NO, NMXP_LOG_D_ANY, "\
Signal handling:\n\
INT QUIT TERM Sending these signals to %s causes it\n\
to immediately attempt to gracefully terminate.\n\
It may take several seconds to complete exiting.\n\
ALRM Report info about data buffer.\n\
HUP PIPE Ignored. (SIG_IGN)\n\
\n", NMXP_LOG_STR(PACKAGE_NAME));
nmxptool_author_support();
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment