# RemTail

Removes the last node from a list.

### Synopsis

`Node *RemTail( List *l )`

### Description

This procedure removes the tail (last) node from a list.

### Arguments

l
  A pointer to the list structure that will have its tail removed.

### Return Value

The procedure returns a pointer to the node that was removed from the list or NULL if the list is empty. The anchor nodes are never returned.

### Implementation

Folio call implemented in kernel folio V20.

### Associated Files

list.h
  ANSI C Prototype

clib.lib
  ARM Link Library

### See Also

``AddHead`(), AddTail(), InsertNodeFromTail(), RemHead(), RemNode()`

#