Xiqual 0.9.1
In file xitools/list_newitem.c:
Allocates a new Node structure.
Documentation
Allocates a new Node structure. The node will be
initialised with data and inserted into list. If list is
NULL, it merely creates the new Node and returns a pointer to
it.
- Parameters:
- list - An optional struct List
to insert Node item into
- data Data for the data element in the created node.
Optional.
- Returns:
- A pointer to a Node, with all three fields
initialised
- Author:
- Ronny Bangsund
- See Also:
- List, Node,
list_new(), list_add(), list_remove(), list_delete()
Alphabetic index
This page was generated with the help of DOC++.