(C) 1998 AROS - The Amiga Research OS


NAME
#include <exec/lists.h>
#include <proto/exec.h>

void AddHead (list , node)

LOCATION
In SysBase at offset 40

SYNOPSIS
struct List * list
struct Node * node

FUNCTION
Insert Node node as the first node of the list.

INPUTS
list
The list to insert the node into
node
This node is to be inserted

RESULT
None.

EXAMPLE
struct List * list;
struct Node * pred;

// Insert Node at top
AddHead (list, node);
SEE ALSO
NewList(), AddTail(), Insert(), Remove(), RemHead(), RemTail(), Enqueue()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
30.04.1997 aros
Optimized header files

Polish

01.01.1997 ldp
Committed Amiga native (support) code

Changed clib to proto

10.12.1996 aros
Moved all #include's in the first column so makedepend can see it.
25.11.1996 aros
Polished
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
21.10.1996 aros
Changed struct SysBase to struct ExecBase
13.08.1996 digulla
Replaced __AROS_LA by __AROS_LHA Replaced some __AROS_LH*I by __AROS_LH* Sorted and added includes
01.08.1996 digulla
Added standard header for all files
01.08.1996 digulla
Added copyright notics and made headers conform
01.08.1996 digulla
Replaced hacks with commented versions
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS