MessStatusToSysExit - Given a status code, return an exit value.

Function

Given a status code, return an exit value.

Description

This routine returns an appropiate value to be used with the main() function return statement, given a status code.

Language

C

Call

(int) = MessStatusToSysExit (StatusType code)

Parameters

(">" input, "!" modified, "W" workspace, "<" output)

>codeStatusTypeThe message code to convert.

Include files

mess.h

Prior requirements

None

Support

Tony Farrell, AAO

Click here for the DRAMA home page and here for the AAO home page.

 For more information, contact tjf@aao.gov.au