min

Is a macro that returns the smaller of two integers.

Library:LibC
Classification:Other
Service:General C Services

Syntax

  #include <stdlib.h> 
   
  int min (
     int   a,   
     int   b);
  

Parameters

a

(IN) Specifies the first integer.

b

(IN) Specifies the second integer.

Return Values

Returns the smaller of the two integers.

See Also

max