Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ max(9F) — SunOS 5.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

min(9F)

max(9F)

NAME

max − return the larger of two integers

SYNOPSIS

#include <sys/ddi.h>
int max(int int1, int int2);

ARGUMENTS

int1 The first integer. 

int2 The second integer. 

INTERFACE LEVEL

Architecture independent level 1 (DDI/DKI). 

DESCRIPTION

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

RETURN VALUES

The larger of the two numbers. 

CONTEXT

max() can be called from user or interrupt context.

SEE ALSO

min(9F)

Sun Microsystems  —  Last change: 11 Apr 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026