SVR5
max(D3)
max --
return the larger of two integers
Synopsis
#include <sys/ddi.h>
int max(int int1, int int2);
Description
max compares two integers and returns the larger of two.
Arguments
int1, int2-
The integers to be compared.
Return values
The larger of the two integers.
Usage
If the int1 and int2 arguments are not of the specified type
the results are undefined.
This interface may be implemented in a way that causes the arguments
to be evaluated multiple times, so callers should beware of side effects.
Context and synchronization
All
contexts.
Hardware applicability
All
Version applicability
ddi:
1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
References
min(D3)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005