Content-type: text/html Man page of min

min

Section: Kernel Functions for Drivers (9F)
Updated: 16 Jan 2006
Index Return to Main Contents
 

NAME

min - return the lesser of two integers  

SYNOPSIS

#include <sys/ddi.h>

int min(int int1, int int2);  

INTERFACE LEVEL

Architecture independent level 1 (DDI/DKI).  

PARAMETERS

int1 The first integer.

int2 The second integer.

 

DESCRIPTION

The min() function compares two signed integers and returns the lesser of the two.  

RETURN VALUES

The lesser of the two integers.  

CONTEXT

The min() function can be called from user, interrupt, or kernel context.  

SEE ALSO

max(9F)

Writing Device Drivers


 

Index

NAME
SYNOPSIS
INTERFACE LEVEL
PARAMETERS
DESCRIPTION
RETURN VALUES
CONTEXT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:39:46 GMT, October 02, 2010