~ubuntu-branches/ubuntu/saucy/slurm-llnl/saucy

« back to all changes in this revision

Viewing changes to src/slaunch/sigstr.h

  • Committer: Bazaar Package Importer
  • Author(s): Gennaro Oliva
  • Date: 2008-05-30 13:11:30 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080530131130-l6ko6aie7xhrlmxe
Tags: 1.3.3-1
* New upstream release
* Removed patches to src/slurmctd/controller.c src/slurmdbd/slurmdbd.c
  doc/man/man1/sacctmgr.1 included to upstream
* Edited watch file to seek for 1.3 releases
* doc/man/man1/salloc.1 doc/man/man1/sbatch.1 doc/man/man5/slurm.conf.5
  patched to improve formatting and avoid manual warnings 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*****************************************************************************\
2
 
 * src/slaunch/sigstr.h - 
3
 
 * $Id: sigstr.h 10574 2006-12-15 23:38:29Z jette $
4
 
 *****************************************************************************
5
 
 *  Copyright (C) 2002 The Regents of the University of California.
6
 
 *  Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
7
 
 *  Written by Mark Grondona <mgrondona@llnl.gov>.
8
 
 *  UCRL-CODE-226842.
9
 
 *  
10
 
 *  This file is part of SLURM, a resource management program.
11
 
 *  For details, see <http://www.llnl.gov/linux/slurm/>.
12
 
 *  
13
 
 *  SLURM is free software; you can redistribute it and/or modify it under
14
 
 *  the terms of the GNU General Public License as published by the Free
15
 
 *  Software Foundation; either version 2 of the License, or (at your option)
16
 
 *  any later version.
17
 
 *  
18
 
 *  SLURM is distributed in the hope that it will be useful, but WITHOUT ANY
19
 
 *  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20
 
 *  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
21
 
 *  details.
22
 
 *  
23
 
 *  You should have received a copy of the GNU General Public License along
24
 
 *  with SLURM; if not, write to the Free Software Foundation, Inc.,
25
 
 *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
26
 
\*****************************************************************************/
27
 
 
28
 
#ifndef _SLAUNCH_SIGSTR_H
29
 
#define _SLAUNCH_SIGSTR_H
30
 
 
31
 
/*
32
 
 * Returns a descriptive string regarding the signal given in the
33
 
 * exit status 'status.' 
34
 
 *
35
 
 * WIFSIGNALED(status) must be true in order to call this function!
36
 
 */
37
 
char *sigstr(int status);
38
 
 
39
 
#endif /* !_SLAUNCH_SIGSTR_H */