prg_dl_shobj_last_error_msg_get()

Abstract

Retrieves a list of error messages.

Syntax

prg_dl_shobj_last_error_msg_get()
Argument Type Description
no arguments

Return Type

PrgT_List *

Pointer to a list of error messages.

prg_dl.h

Details

After every call to prg_dl_shobj_load() there may be error messages. This function returns a new list of strings with any messages. Many operating systems have an analogous function called last_error().

To use this function:

  1. Call prg_dl_shobj_load(). It will attempt to load a shared object. A side effect of calling this function is to clear any old error messages.
  2. Call prg_dl_shobj_last_error_msg_get(). This creates a new list of strings, which the caller should destroy. Any messages reported by a previous call to prg_dl_shobj_load() will be returned. If prg_dl_shobj_load() has never been called, or if there were no error messages the returned list will be empty. If any errors occur with prg_dl_shobj_last_error_msg_get(), the function will return NIL.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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