Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ min(9F) — SunOS 5.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

max(9F)

min(9F)

NAME

min − return the lesser of two integers

SYNOPSIS

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

ARGUMENTS

int1 The first integer. 

int2 The second integer. 

INTERFACE LEVEL

Architecture independent level 1 (DDI/DKI). 

DESCRIPTION

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

RETURN VALUES

The lesser of the two integers. 

CONTEXT

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

SEE ALSO

max(9F)

SunOS 5.2  —  Last change: 11 Apr 1991

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