Next: , Previous: , Up: Invoking autogen   [Contents][Index]


5.9 autogen exit status

One of the following exit values will be returned:

‘0 (EXIT_SUCCESS)’

Successful program execution.

‘1 (EXIT_OPTION_ERROR)’

The command options were misconfigured.

‘2 (EXIT_BAD_TEMPLATE)’

An error was encountered processing the template.

‘3 (EXIT_BAD_DEFINITIONS)’

The definitions could not be deciphered.

‘4 (EXIT_LOAD_ERROR)’

An error was encountered during the load phase.

‘5 (EXIT_FS_ERROR)’

a file system error stopped the program.

‘6 (EXIT_NO_MEM)’

Insufficient memory to operate.

‘128 (EXIT_SIGNAL)’

autogen exited due to catching a signal. If your template includes string formatting, a number argument to a "%s" formatting element will trigger a segmentation fault. Autogen will catch the seg fault signal and exit with AUTOGEN_EXIT_SIGNAL(5). Alternatively, AutoGen may have been interrupted with a kill(2) signal.

Subtract 128 from the actual exit code to detect the signal number.

‘66 (EX_NOINPUT)’

A specified configuration file could not be loaded.

‘70 (EX_SOFTWARE)’

libopts had an internal operational error. Please report it to autogen-users@lists.sourceforge.net. Thank you.