PQNext
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
PQNext()
SYNOPSIS
misc_lib/priorque.c:320
VoidPtr PQNext(PriorQue *PQ, VoidPtr CmpItem, VoidPtr LargerThan)
DESCRIPTION
Returns the smallest element in PQ that is larger than given element
CmpItem.
PQ is not modified. Return NULL if none was found.
LargerThan will allways hold the smallest Item Larger than current one.
PARAMETERS:
PQ: To examine.
CmpItem: To find the smallest item in PQ that is larger than it.
LargerThan: The item that is found larger so far.
FUNCTION RETURN VALUE
VoidPtr: The samllest item in PQ that is larger than CmpItem or
NULL if no found.
ORIGIN
(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PARAMETERS:
-
- FUNCTION RETURN VALUE
-
- ORIGIN
-
This document was created by
man2html,
using the manual pages.
Time: 07:27:33 GMT, July 20, 2024