mco_sys_dll_error

Return a system-dependent explanation of an error during the call of mco_sys_dll_load().

Prototype

    char const * mco_sys_dll_error(void);

Arguments

void
No arguments.

Description

This function returns a system-dependent explanation of an error if one happened during the call of mco_sys_dll_load(). It returns a static pointer to a zero-terminated string with the message. So there is no need to deallocate the memory.

(Note that this is a platform-independent interface for a dynamic loader if it is supported by the underlying OS).

Return Codes

char *
A static pointer to a zero-terminated string with the message if successful.
zero
The error message is not supported.

Related Topics Link IconRelated Topics

Files

Header file:
mco.h
Source file:
mcosaldload.c
Library:
libmcosaldload.a
Header file:
mco.h
Source file:
mcosalhollow.c
Library:
libmcosalhollow.a