data_structures
Functions
queue_dequeue.c File Reference
#include "queue.h"
+ Include dependency graph for queue_dequeue.c:

Go to the source code of this file.

Functions

void * queue_dequeue (t_queue *queue)
 Removes and returns the item on this queue that was least recently added. More...
 

Function Documentation

◆ queue_dequeue()

void* queue_dequeue ( t_queue queue)

Removes and returns the item on this queue that was least recently added.

Returns
The item that was least recently added, or NULL if the queue is empty.

Definition at line 16 of file queue_dequeue.c.