OpenRM - RM Library (rmerror.c)

## Index of OpenRM - RM Library

     void rmError (const char *msg)

     const char *msg - a character string containing an
        application-supplied error message.

This routine posts an error message in an implementation-specific way.

X11: The error message supplied by the application is printed to stderr, and is prefaced with the string "rmError:".

Win32: A Win32 MessageBox containing the application string will pop up on the screen.

In both Win32 and X11, this routine will return control to the application (does not call exit()).

librm library source file: rmerror.c

     void rmWarning (const char *msg)

     const char *msg - a character string containing an
        application-supplied warning message.

This routine posts an warning message in an implementation-specific way.

X11: The warning message supplied by the application is printed to stderr, and is prefaced with the string "rmWarning:".

Win32: A Win32 MessageBox containing the application string will pop up on the screen.

In both Win32 and X11, this routine will return control to the application (does not call exit()).

librm library source file: rmerror.c

     void rmNotice (const char *msg)

     const char *msg - a character string containing an
        application-supplied notice message.

This routine posts an notice message in an implementation-specific way.

X11: The notice message supplied by the application is printed to stderr, and is prefaced with the string "rmNotice:".

Win32: A Win32 MessageBox containing the application string will pop up on the screen.

In both Win32 and X11, this routine will return control to the application (does not call exit()).

librm library source file: rmerror.c

     RMenum rmNotifyLevel(RMenum level)

     RMenum level - an RMenum value. Must be either RM_NOTIFY_FULL or
        RM_NOTIFY_SILENCE.

Use this routine to set the volume on the notice/warning/error messages. When set to RM_NOTIFY_SILENCE, no notice/warning/error messages whatsoever will be generated by OpenRM. The only other option at this time is RM_NOTIFY_FULL. The default value is RM_NOTIFY_FULL.

This routine is not thread safe.

librm library source file: rmerror.c