netbsd man page for imin

Query: imin

OS: netbsd

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

IMAX(9) 						   BSD Kernel Developer's Manual						   IMAX(9)

NAME
imax, imin, lmax, lmin, max, min, ulmax, ulmin -- compare integers
SYNOPSIS
int imax(int a, int b); int imin(int a, int b); long lmax(long a, long b); long lmin(long a, long b); u_int max(u_int a, u_int b); u_int min(u_int a, u_int b); u_long ulmax(u_long a, u_long b); u_long ulmin(u_long a, u_long b);
DESCRIPTION
The imin(), lmin(), min(), and ulmin() functions return whichever argument is algebraically smaller, differing only in their argument and return types: these functions operate on, respectively, natural size, long, unsigned and unsigned long integers. The imax(), lmax(), max(), and ulmax() functions are identical except that they return the algebraically larger argument between a and b.
SEE ALSO
ilog2(3)
BSD
June 8, 2010 BSD
Related Man Pages
srandom(9) - debian
types(5) - opendarwin
types(5) - ultrix
casueword32(9) - freebsd
casuword(9) - freebsd
Similar Topics in the Unix Linux Community
count the number of field in a string with deliminter
Eliminating duplicates from the who command
script to eliminate left and right fields and to get the ouput.
Date elimination
How to convert 24 hour time to 12 hour timing?