Scroll to navigation

APPEND(3) MBK UTILITY FUNCTIONS APPEND(3)

NAME

append - append a chain_list to an other chain_list

ORIGIN

This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.

Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr

SYNOPSYS

#include "mut.h"
chain_list ∗append(pt1, pt2)
chain_list ∗pt1,∗pt2;	

PARAMETERS

Pointer to a chain_list
Pointer to a chain_list

DESCRIPTION

append appends the contains of the chain_list pointed to by pt2 at the end of the one pointed to by pt1.
The lists consistency is warranted by the use of the adequat add functions.

RETURN VALUE

append returns a pointer to the new head of list. If pt1 is not NULL, it has the value of pt1, else it is pt2.

EXAMPLE

#include "mut.h"
#include "mlo.h"
void sig_names(s0, s1)
losig_list ∗s0, ∗s1;
{
	s0->NAMECHAIN = append(s0->NAMECHAIN, s1->NAMECHAIN);
}

SEE ALSO

mbk(1), chain(3).

BUG REPORT

This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.

October 1, 1997 ASIM/LIP6