DOKK / manpages / debian 12 / libvistaio-dev / VistaIOMax.3.en
VistaIOMax(3) Library Functions Manual VistaIOMax(3)

VistaIOMax, VistaIOMin - return the maximum or minimum of two values

#include <vistaio.h>
type VistaIOMax (type a, type b)
type VistaIOMin (type a, type b)
where type is a numeric type.

Two numeric arguments.

VistaIOMax returns the maximum of its two arguments.

VistaIOMin returns the minimum of its two arguments.

Both are defined as macros in <vistaio.h>.

Do not pass an argument that produces a side effect, since it may be evaluated either once or twice.

Art Pope <pope@cs.ubc.ca>

Adaption to vistaio: Gert Wollny <gw.fossdev@gmail.com>

24 April 1993 VistaIO Version 1.2.14