prg_list_join()

Abstract

Joins two lists.

Syntax

prg_list_join (front_lptr, back_lptr)
Argument Type Description
front_lptr PrgT_List* pointer to the first list.
back_lptr PrgT_List* pointer to the list to be appended to the first list.

Return Type

PrgT_Compcode

PrgC_Compcode_Success if the lists are joined successfully; PrgC_Compcode_Failure otherwise.

prg_list_funcs.h

Details

This function appends the back_lptr values to front_lptr. Back_lptr is an empty list after a successful join.

WARNING: This function is MT unsafe, as described in “Multi-Threading Safety“ on page 11. Access to shared lists must be externally serialized.

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