max man page on SmartOS

Printed from http://www.polarhome.com/service/man/?qf=max&af=0&tf=2&of=SmartOS

MAX(9F)								       MAX(9F)

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  con‐
       text.

SEE ALSO
       min(9F)

       Writing Device Drivers

				 Jan 16, 2006			       MAX(9F)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net