File: util_exit_code.h

package info (click to toggle)
s390-tools 2.35.0-2
  • links: PTS
  • area: main
  • in suites: forky
  • size: 12,248 kB
  • sloc: ansic: 184,236; sh: 12,152; cpp: 4,954; makefile: 2,763; perl: 2,519; asm: 1,085; python: 697; xml: 29
file content (21 lines) | stat: -rw-r--r-- 614 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * @defgroup util_exit_code_h util_exit_code: General purpose exit codes
 * @{
 * @brief General purpose exit codes
 *
 * Copyright IBM Corp. 2022
 *
 * s390-tools is free software; you can redistribute it and/or modify
 * it under the terms of the MIT license. See LICENSE for details.
 */

#ifndef LIB_UTIL_EXIT_CODE_H
#define LIB_UTIL_EXIT_CODE_H

typedef enum {
	UTIL_EXIT_OK		= 0,  /* Program finished successfully */
	UTIL_EXIT_RUNTIME_ERROR	= 15, /* A run-time error occurred */
	UTIL_EXIT_OUT_OF_MEMORY	= 22, /* Not enough available memory */
} util_exit_code_t;

#endif /** LIB_UTIL_EXIT_CODE_H @} */