Details

[Home]

Issue of the Standard # S0582

Brief

Description of g_module_open says nothing about how to open the main program

Detailed Description

The description of g_module_name says:
"Returns : the filename of the module, or "main" if the module is the main program itself".
However there is no hint in the description of g_module_open on how to open the main program as a module.

The tests indicate that the main program is opened as a module when NULL is passed to g_module_open as a file name (similar to dlopen).

We propose to add description of this behaviour to documentation of the g_module_open interface.

Problem location(s) in the standard

Glib 2.6.2 Reference Manual, Dynamic Loading of Modules

[Home]