/usr/include/libcob/intrinsic.h is in libcob1-dev 1.1-2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | /*
* Copyright (C) 2005-2009 Roger While
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1,
* or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; see the file COPYING.LIB. If
* not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor
* Boston, MA 02110-1301 USA
*/
#ifndef COB_INTRINSIC_H
#define COB_INTRINSIC_H
#include <libcob/common.h>
extern cob_field *cob_intr_binop (cob_field *, int, cob_field *);
extern cob_field *cob_intr_current_date (const int, const int);
extern cob_field *cob_intr_when_compiled (const int, const int, cob_field *);
extern cob_field *cob_intr_exception_file (void);
extern cob_field *cob_intr_exception_location (void);
extern cob_field *cob_intr_exception_status (void);
extern cob_field *cob_intr_exception_statement (void);
extern cob_field *cob_intr_char (cob_field *);
extern cob_field *cob_intr_ord (cob_field *);
extern cob_field *cob_intr_stored_char_length (cob_field *);
extern cob_field *cob_intr_combined_datetime (cob_field *, cob_field *);
extern cob_field *cob_intr_date_of_integer (cob_field *);
extern cob_field *cob_intr_day_of_integer (cob_field *);
extern cob_field *cob_intr_integer_of_date (cob_field *);
extern cob_field *cob_intr_integer_of_day (cob_field *);
extern cob_field *cob_intr_test_date_yyyymmdd (cob_field *);
extern cob_field *cob_intr_test_day_yyyyddd (cob_field *);
extern cob_field *cob_intr_factorial (cob_field *);
extern cob_field *cob_intr_exp (cob_field *);
extern cob_field *cob_intr_exp10 (cob_field *);
extern cob_field *cob_intr_abs (cob_field *);
extern cob_field *cob_intr_acos (cob_field *);
extern cob_field *cob_intr_asin (cob_field *);
extern cob_field *cob_intr_atan (cob_field *);
extern cob_field *cob_intr_cos (cob_field *);
extern cob_field *cob_intr_log (cob_field *);
extern cob_field *cob_intr_log10 (cob_field *);
extern cob_field *cob_intr_sin (cob_field *);
extern cob_field *cob_intr_sqrt (cob_field *);
extern cob_field *cob_intr_tan (cob_field *);
extern cob_field *cob_intr_upper_case (const int, const int, cob_field *);
extern cob_field *cob_intr_lower_case (const int, const int, cob_field *);
extern cob_field *cob_intr_reverse (const int, const int, cob_field *);
extern cob_field *cob_intr_concatenate (const int, const int,
const int, ...);
extern cob_field *cob_intr_substitute (const int, const int,
const int, ...);
extern cob_field *cob_intr_substitute_case (const int, const int,
const int, ...);
extern cob_field *cob_intr_trim (const int, const int,
cob_field *, const int);
extern cob_field *cob_intr_length (cob_field *);
extern cob_field *cob_intr_integer (cob_field *);
extern cob_field *cob_intr_integer_part (cob_field *);
extern cob_field *cob_intr_fraction_part (cob_field *);
extern cob_field *cob_intr_sign (cob_field *);
extern cob_field *cob_intr_numval (cob_field *);
extern cob_field *cob_intr_numval_c (cob_field *, cob_field *);
extern cob_field *cob_intr_annuity (cob_field *, cob_field *);
extern cob_field *cob_intr_mod (cob_field *, cob_field *);
extern cob_field *cob_intr_rem (cob_field *, cob_field *);
extern cob_field *cob_intr_sum (const int, ...);
extern cob_field *cob_intr_ord_min (const int, ...);
extern cob_field *cob_intr_ord_max (const int, ...);
extern cob_field *cob_intr_min (const int, ...);
extern cob_field *cob_intr_max (const int, ...);
extern cob_field *cob_intr_midrange (const int, ...);
extern cob_field *cob_intr_median (const int, ...);
extern cob_field *cob_intr_mean (const int, ...);
extern cob_field *cob_intr_range (const int, ...);
extern cob_field *cob_intr_random (const int, ...);
extern cob_field *cob_intr_variance (const int, ...);
extern cob_field *cob_intr_standard_deviation (const int, ...);
extern cob_field *cob_intr_present_value (const int, ...);
extern cob_field *cob_intr_year_to_yyyy (const int, ...);
extern cob_field *cob_intr_date_to_yyyymmdd (const int, ...);
extern cob_field *cob_intr_day_to_yyyyddd (const int, ...);
extern cob_field *cob_intr_locale_date (const int, const int,
cob_field *, cob_field *);
extern cob_field *cob_intr_locale_time (const int, const int,
cob_field *, cob_field *);
extern cob_field *cob_intr_seconds_past_midnight (void);
extern cob_field *cob_intr_lcl_time_from_secs (const int, const int,
cob_field *, cob_field *);
extern cob_field *cob_intr_seconds_from_formatted_time (cob_field *, cob_field *);
#endif /* COB_INTRINSIC_H */
|