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.

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

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com