Commit | Line | Data |
---|---|---|
a7e60862 WJ |
1 | |
2 | /******************************************** | |
3 | bi_funct.h | |
4 | copyright 1991, Michael D. Brennan | |
5 | ||
6 | This is a source file for mawk, an implementation of | |
7 | the AWK programming language. | |
8 | ||
9 | Mawk is distributed without warranty under the terms of | |
10 | the GNU General Public License, version 2, 1991. | |
11 | ********************************************/ | |
12 | ||
13 | ||
14 | /* $Log: bi_funct.h,v $ | |
15 | * Revision 5.1 91/12/05 07:59:03 brennan | |
16 | * 1.1 pre-release | |
17 | * | |
18 | */ | |
19 | ||
20 | #ifndef BI_FUNCT_H | |
21 | #define BI_FUNCT_H 1 | |
22 | ||
23 | #include "symtype.h" | |
24 | ||
25 | extern BI_REC bi_funct[] ; | |
26 | ||
27 | void PROTO(bi_init, (void) ) ; | |
28 | ||
29 | /* builtin string functions */ | |
30 | CELL *PROTO( bi_print, (CELL *) ) ; | |
31 | CELL *PROTO( bi_printf, (CELL *) ) ; | |
32 | CELL *PROTO( bi_length, (CELL *) ) ; | |
33 | CELL *PROTO( bi_index, (CELL *) ) ; | |
34 | CELL *PROTO( bi_substr, (CELL *) ) ; | |
35 | CELL *PROTO( bi_sprintf, (CELL *) ) ; | |
36 | CELL *PROTO( bi_split, (CELL *) ) ; | |
37 | CELL *PROTO( bi_match, (CELL *) ) ; | |
38 | CELL *PROTO( bi_getline, (CELL *) ) ; | |
39 | CELL *PROTO( bi_sub, (CELL *) ) ; | |
40 | CELL *PROTO( bi_gsub, (CELL *) ) ; | |
41 | CELL *PROTO( bi_toupper, (CELL*) ) ; | |
42 | CELL *PROTO( bi_tolower, (CELL*) ) ; | |
43 | ||
44 | /* builtin arith functions */ | |
45 | CELL *PROTO( bi_sin, (CELL *) ) ; | |
46 | CELL *PROTO( bi_cos, (CELL *) ) ; | |
47 | CELL *PROTO( bi_atan2, (CELL *) ) ; | |
48 | CELL *PROTO( bi_log, (CELL *) ) ; | |
49 | CELL *PROTO( bi_exp, (CELL *) ) ; | |
50 | CELL *PROTO( bi_int, (CELL *) ) ; | |
51 | CELL *PROTO( bi_sqrt, (CELL *) ) ; | |
52 | CELL *PROTO( bi_srand, (CELL *) ) ; | |
53 | CELL *PROTO( bi_rand, (CELL *) ) ; | |
54 | ||
55 | /* other builtins */ | |
56 | CELL *PROTO( bi_close, (CELL *) ) ; | |
57 | CELL *PROTO( bi_system, (CELL *) ) ; | |
58 | ||
59 | #endif /* BI_FUNCT_H */ | |
60 |