home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 11 / AUCD11B.iso / LANGUAGES / WraithSet / AwkStuff / MawkSrc / h / bi_funct < prev    next >
Text File  |  1999-11-06  |  2KB  |  73 lines

  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 1.2  1994/12/11  22:10:15  mike
  16.  * fflush
  17.  *
  18.  * Revision 1.1.1.1  1993/07/03  18:58:08  mike
  19.  * move source to cvs
  20.  *
  21.  * Revision 5.1  1991/12/05  07:59:03  brennan
  22.  * 1.1 pre-release
  23.  *
  24. */
  25.  
  26. #ifndef  BI_FUNCT_H
  27. #define  BI_FUNCT_H  1
  28.  
  29. #include "symtype.h"
  30.  
  31. extern BI_REC  bi_funct[] ;
  32.  
  33. void PROTO(bi_init, (void) ) ;
  34.  
  35. /* builtin string functions */
  36. CELL *PROTO( bi_print, (CELL *) ) ;
  37. CELL *PROTO( bi_printf, (CELL *) ) ;
  38. CELL *PROTO( bi_length, (CELL *) ) ;
  39. CELL *PROTO( bi_index, (CELL *) ) ;
  40. CELL *PROTO( bi_substr, (CELL *) ) ;
  41. CELL *PROTO( bi_sprintf, (CELL *) ) ;
  42. CELL *PROTO( bi_split, (CELL *) ) ;
  43. CELL *PROTO( bi_match, (CELL *) ) ;
  44. CELL *PROTO( bi_getline, (CELL *) ) ;
  45. CELL *PROTO( bi_sub, (CELL *) ) ;
  46. CELL *PROTO( bi_gsub, (CELL *) ) ;
  47. CELL *PROTO( bi_toupper, (CELL*) ) ;
  48. CELL *PROTO( bi_tolower, (CELL*) ) ;
  49.  
  50. /* builtin arith functions */
  51. CELL *PROTO( bi_sin, (CELL *) ) ;
  52. CELL *PROTO( bi_cos, (CELL *) ) ;
  53. CELL *PROTO( bi_atan2, (CELL *) ) ;
  54. CELL *PROTO( bi_log, (CELL *) ) ;
  55. CELL *PROTO( bi_exp, (CELL *) ) ;
  56. CELL *PROTO( bi_int, (CELL *) ) ;
  57. CELL *PROTO( bi_sqrt, (CELL *) ) ;
  58. CELL *PROTO( bi_srand, (CELL *) ) ;
  59. CELL *PROTO( bi_rand, (CELL *) ) ;
  60.  
  61. /* other builtins */
  62. CELL *PROTO( bi_close, (CELL *) ) ;
  63. CELL *PROTO( bi_system, (CELL *) ) ;
  64. CELL *PROTO( bi_fflush, (CELL *) ) ;
  65. #ifdef RISCOS
  66. CELL *PROTO( bi_sysvar, (CELL *) ) ;
  67. CELL *PROTO( bi_filetype, (CELL *) ) ;
  68. CELL *PROTO( bi_exists, (CELL *) ) ;
  69. CELL *PROTO( bi_later, (CELL *) ) ;
  70. #endif
  71. #endif  /* BI_FUNCT_H  */
  72.  
  73.