386BSD 0.1 development
[unix-history] / usr / src / usr.bin / awk / bi_funct.h
CommitLineData
a7e60862
WJ
1
2/********************************************
3bi_funct.h
4copyright 1991, Michael D. Brennan
5
6This is a source file for mawk, an implementation of
7the AWK programming language.
8
9Mawk is distributed without warranty under the terms of
10the 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
25extern BI_REC bi_funct[] ;
26
27void PROTO(bi_init, (void) ) ;
28
29/* builtin string functions */
30CELL *PROTO( bi_print, (CELL *) ) ;
31CELL *PROTO( bi_printf, (CELL *) ) ;
32CELL *PROTO( bi_length, (CELL *) ) ;
33CELL *PROTO( bi_index, (CELL *) ) ;
34CELL *PROTO( bi_substr, (CELL *) ) ;
35CELL *PROTO( bi_sprintf, (CELL *) ) ;
36CELL *PROTO( bi_split, (CELL *) ) ;
37CELL *PROTO( bi_match, (CELL *) ) ;
38CELL *PROTO( bi_getline, (CELL *) ) ;
39CELL *PROTO( bi_sub, (CELL *) ) ;
40CELL *PROTO( bi_gsub, (CELL *) ) ;
41CELL *PROTO( bi_toupper, (CELL*) ) ;
42CELL *PROTO( bi_tolower, (CELL*) ) ;
43
44/* builtin arith functions */
45CELL *PROTO( bi_sin, (CELL *) ) ;
46CELL *PROTO( bi_cos, (CELL *) ) ;
47CELL *PROTO( bi_atan2, (CELL *) ) ;
48CELL *PROTO( bi_log, (CELL *) ) ;
49CELL *PROTO( bi_exp, (CELL *) ) ;
50CELL *PROTO( bi_int, (CELL *) ) ;
51CELL *PROTO( bi_sqrt, (CELL *) ) ;
52CELL *PROTO( bi_srand, (CELL *) ) ;
53CELL *PROTO( bi_rand, (CELL *) ) ;
54
55/* other builtins */
56CELL *PROTO( bi_close, (CELL *) ) ;
57CELL *PROTO( bi_system, (CELL *) ) ;
58
59#endif /* BI_FUNCT_H */
60