Main Page
Namespaces
Classes
Files
File List
File Members
contrib
contact
clib
min0.c
Go to the documentation of this file.
1
/* min0 gives the minimum value of integers
2
3
Ver1.0 Apr.12,1988. */
4
5
#include "
arith.h
"
6
7
int
min0
(va_alist)
8
va_dcl
9
{
10
va_list ap;
11
int
i,
n
;
12
int
min
,x;
13
14
va_start(ap);
15
16
n=va_arg(ap,
int
);
17
min=va_arg(ap,
int
);
18
19
for
(i=0; i<n-1; i++){
20
x=va_arg(ap,
int
);
21
if
(x<min)
22
min=x;
23
}
24
25
return
(min);
26
27
va_end(ap);
28
}
29
30
31
32
33
34
35
36
arith.h
n
GLfloat n[6][3]
Definition:
cube.c:15
min
#define min(x, y)
Definition:
rmflags.c:17
min0
int min0(va_alist)
Definition:
min0.c:7
euslisp
Author(s): Toshihiro Matsui
autogenerated on Fri Feb 21 2020 03:20:54