Query: min
OS: opendarwin
Section: 9f
Links: opendarwin man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
min(9F) Kernel Functions for Drivers min(9F)NAMEmin - return the lesser of two integersSYNOPSIS#include <sys/ddi.h> int min(int int1, int int2);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERSint1 The first integer. int2 The second integer.DESCRIPTIONmin() compares two signed integers and returns the lesser of the two.RETURN VALUESThe lesser of the two integers.CONTEXTmin() can be called from user or interrupt context.SEE ALSOmax(9F) Writing Device Drivers SunOS 5.10 11 Apr 1991 min(9F)