-
Notifications
You must be signed in to change notification settings - Fork 0
/
bi_funct.h
64 lines (51 loc) · 1.52 KB
/
bi_funct.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/********************************************
bi_funct.h
copyright 1991,2014-2016 Michael D. Brennan
This is a source file for mawk, an implementation of
the AWK programming language.
Mawk is distributed without warranty under the terms of
the GNU General Public License, version 3, 2007.
If you import elements of this code into another product,
you agree to not name that product mawk.
********************************************/
#ifndef BI_FUNCT_H
#define BI_FUNCT_H 1
#include "table.h"
extern BI_REC bi_funct[];
void bi_init( void );
CELL * bi_print( CELL * );
CELL * bi_printf( CELL * );
CELL * bi_printf1( CELL * );
CELL * bi_length( CELL * );
CELL * bi_alength( CELL * ); /* length/size of an array */
CELL * bi_index( CELL * );
CELL * bi_substr( CELL * );
CELL * bi_sprintf( CELL * );
CELL * bi_sprintf1( CELL * );
CELL * bi_split( CELL * );
CELL * bi_match( CELL * );
CELL * bi_getline( CELL * );
CELL * bi_sub( CELL * );
CELL * bi_gsub( CELL * );
CELL * bi_toupper( CELL * );
CELL * bi_tolower( CELL * );
/* builtin arith functions */
CELL * bi_sin( CELL * );
CELL * bi_cos( CELL * );
CELL * bi_atan2( CELL * );
CELL * bi_log( CELL * );
CELL * bi_exp( CELL * );
CELL * bi_int( CELL * );
CELL * bi_sqrt( CELL * );
CELL * bi_srand( CELL * );
CELL * bi_rand( CELL * );
/* other builtins */
CELL * bi_close( CELL * );
CELL * bi_system( CELL * );
CELL * bi_fflush( CELL * );
CELL * bi_fhash( CELL * );
CELL * bi_hash( CELL * );
CELL * bi_shm( CELL * );
CELL * bi_spawn( CELL * );
CELL * bi_popen( CELL * );
#endif /* BI_FUNCT_H */