* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
* This code is derived from software contributed to Berkeley by
* %sccs.include.redist.c%
static char sccsid
[] = "@(#)lstAtEnd.c 5.3 (Berkeley) %G%";
* Add a node at the end of the list
*-----------------------------------------------------------------------
* Add a node to the end of the given list
* SUCCESS if life is good.
* A new ListNode is created and added to the list.
*-----------------------------------------------------------------------
Lst l
; /* List to which to add the datum */
ClientData d
; /* Datum to add */
return (Lst_Append (l
, end
, d
));