Content-type: text/html Man page of max

max

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

NAME

max - return the larger of two integers  

SYNOPSIS

#include <sys/ddi.h>

int max(int int1, int int2);  

INTERFACE LEVEL

Architecture independent level 1 (DDI/DKI).  

PARAMETERS

int1 The first integer.

int2 The second integer.

 

DESCRIPTION

The max() function compares two signed integers and returns the larger of the two.  

RETURN VALUES

The larger of the two numbers.  

CONTEXT

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

SEE ALSO

min(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