1max(9F) Kernel Functions for Drivers max(9F)
2
3
4
6 max - return the larger of two integers
7
9 #include <sys/ddi.h>
10
11
12
13 int max(int int1, int int2);
14
15
17 Architecture independent level 1 (DDI/DKI).
18
20 int1 The first integer.
21
22
23 int2 The second integer.
24
25
27 The max() function compares two signed integers and returns the larger
28 of the two.
29
31 The larger of the two numbers.
32
34 The max() function can be called from user, interrupt, or kernel con‐
35 text.
36
38 min(9F)
39
40
41 Writing Device Drivers
42
43
44
45SunOS 5.11 16 Jan 2006 max(9F)