IupHelp

IUP - Portable User Interface

IupHelp

Opens the given URL. In UNIX executes Netscape or Firefox (in Linux) passing the desired URL as a parameter. In Windows calls the default application that handle URLs.

In UNIX you can change the used browser setting the environment variable IUP_HELPAPP or using the global attribute "HELPAPP".

Parameters/Return

int IupHelp(char* url); [in C]
iup.Help(url: string) [in Lua]

url: may be any kind of address accepted by the Browser, that is, it can include 'http://', or be just a file name, etc.

Returns 1 if successfull, -1 if failed. In Windows can return -2 if file not found.