exit-status.h revision d7832d2c6e0ef5f2839a2296c1cc2fc85c7d9632
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering This file is part of systemd.
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering Copyright 2010 Lennart Poettering
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering systemd is free software; you can redistribute it and/or modify it
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering under the terms of the GNU General Public License as published by
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering the Free Software Foundation; either version 2 of the License, or
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering (at your option) any later version.
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering systemd is distributed in the hope that it will be useful, but
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering General Public License for more details.
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering You should have received a copy of the GNU General Public License
b5efdb8af40ea759a1ea584c1bc44ecc81dd00ceLennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering /* EXIT_SUCCESS defined by libc */
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering /* EXIT_FAILURE defined by libc */
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering /* The LSB suggests that error codes >= 200 are "reserved". We
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering * use them here under the assumption that they hence are
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering * unused by init scripts.
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering * http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html */
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart Poetteringconst char* exit_status_to_string(ExitStatus status, ExitStatusLevel level);