prg_env_release_get()
Abstract
Returns the release string compiled into the software (for example, “18.6”).
Syntax
prg_env_release_get (release_str)
| Argument | Type | Description |
|---|---|---|
release_str |
char * |
The character array which will receive the release string. |
Return Type
void
No return value.
Header
prg_env.h
Example
char release_str[128];
...
prg_env_release_get (release_str);
printf ("The current release is %s\n", release_str);
Details
None.
Purpose
The string returned by this function can be combined with the value of the “opnet_dir“ preference setting (see prg_preference_value_get()) to find files within the current installation.
Errors
- None
Reference
- None