xref: /minix3/sbin/fsck/exitvalues.h (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc /*	$NetBSD: exitvalues.h,v 1.3 2015/06/21 03:33:22 dholland Exp $	*/
24d4057d8SBen Gras /*-
34d4057d8SBen Gras  * Copyright (c) 2008 The NetBSD Foundation, Inc.
44d4057d8SBen Gras  * All rights reserved.
54d4057d8SBen Gras  *
64d4057d8SBen Gras  * This code is derived from software contributed to The NetBSD Foundation
74d4057d8SBen Gras  * by Christos Zoulas.
84d4057d8SBen Gras  *
94d4057d8SBen Gras  * Redistribution and use in source and binary forms, with or without
104d4057d8SBen Gras  * modification, are permitted provided that the following conditions
114d4057d8SBen Gras  * are met:
124d4057d8SBen Gras  * 1. Redistributions of source code must retain the above copyright
134d4057d8SBen Gras  *    notice, this list of conditions and the following disclaimer.
144d4057d8SBen Gras  * 2. Redistributions in binary form must reproduce the above copyright
154d4057d8SBen Gras  *    notice, this list of conditions and the following disclaimer in the
164d4057d8SBen Gras  *    documentation and/or other materials provided with the distribution.
174d4057d8SBen Gras  *
184d4057d8SBen Gras  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
194d4057d8SBen Gras  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
204d4057d8SBen Gras  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
214d4057d8SBen Gras  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
224d4057d8SBen Gras  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
234d4057d8SBen Gras  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
244d4057d8SBen Gras  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
254d4057d8SBen Gras  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
264d4057d8SBen Gras  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
274d4057d8SBen Gras  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
284d4057d8SBen Gras  * POSSIBILITY OF SUCH DAMAGE.
294d4057d8SBen Gras  */
30*0a6a1f1dSLionel Sambuc 
314d4057d8SBen Gras #define	FSCK_EXIT_OK			0
324d4057d8SBen Gras #define	FSCK_EXIT_USAGE			1
334d4057d8SBen Gras #define	FSCK_EXIT_UNRESOLVED		2
344d4057d8SBen Gras #define	FSCK_EXIT_ROOT_CHANGED		4
354d4057d8SBen Gras #define	FSCK_EXIT_CHECK_FAILED		8
364d4057d8SBen Gras #define	FSCK_EXIT_SIGNALLED		12
37