map_RPC_status (ul_tecar)


   Synopsis:

      This function is called to map an ONC RPC status return value to
      an ACNET standard return for the TECAR facility. This function is
      not usually called by applications, or the upper layer of
      the TECAR library; instead, it usually called by the functions
      map_RPC_create_error() and map_RPC_call_error(), which are
      themselves called by the upper layers of the TECAR library.



   Declarations (ANSI C):

       int   status;
       short istat;
       short map_RPC_status ( const int status );


   Usage (C):

       istat = map_RPC_status ( status );


   Arguments:

      Input - readonly:

         status         an integer value, representing an ONC RPC status


      Output:

         none


      Returns:

         istat          the ACNET status return