osprey/libf/fio/c1/calio.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Include dependency graph for calio.c:

Go to the source code of this file.

Defines

#define CNT   1
#define EOR   0
#define EOF   -1
#define OK   0
#define IOERR   -1
#define PARTIAL   0
#define FULL   1
#define BLANK   ((long) ' ')
#define MYRMAX   256

Functions/Subroutines

long cal_rch (FILE *fp, long *uda, long chars, long mode, long *status)
long cal_wch (FILE *fp, long *uda, long chars, long mode, long *status)
long cal_rwd (FILE *fp, long *uda, long words, long mode, long *status)
long cal_wwd (FILE *fp, long *uda, long words, long mode, long *status)

Variables

static char USMID [] = "@(#) libf/fio/c1/calio.c 92.0 10/08/98 14:30:10"


Define Documentation

#define BLANK   ((long) ' ')

Definition at line 67 of file calio.c.

#define CNT   1

Definition at line 51 of file calio.c.

Referenced by __READ(), __READC(), _dr_endrec(), _frch(), _frwd(), _fwwd(), _rb(), _rnl_fillrec(), _sr_endrec(), and cal_rch().

#define EOF   -1

Definition at line 54 of file calio.c.

Referenced by __f77_f_back_com(), _dr_endrec(), _fcleanup(), _frch(), _fwch(), _rb(), _rnl_fillrec(), _sr_endrec(), ANL_FILE_MNGR::_Write_Obuf(), add_keepsyms_file(), afgets(), append_tmp(), cal_rch(), cal_rwd(), cal_wch(), cc_get_next_char(), check_protection(), cif_copy_temp_to_actual_CIF(), cif_flush_include_recs(), close_output_files(), comment(), cpp_avoid_paste(), delete_if_ordinary(), digit_is_format_label(), do_f4f8_mp(), do_fio64_mp(), do_Lio_com(), do_us(), dump_file(), e_rsle_mp(), ANL_FILE_MNGR::End_Of_File(), fatal_with_file_and_line(), ffelex_backslash_(), ffelex_cfebackslash_(), ffelex_cfelex_(), ffelex_file_fixed(), ffelex_file_free(), ffelex_get_directive_line_(), ffelex_hash_(), ffelex_hash_kludge(), ffelex_prepare_eos_(), ffelex_send_token_(), fgetcf90_(), fixed_classify_line(), fixed_get_char(), fixed_get_char_literal(), flush_(), free_classify_line(), free_get_char(), free_get_char_literal(), get_charset_aliases(), get_line(), get_token(), KEY_SCH::GetLine(), getline(), getword(), idxread(), ihex_bad_byte(), ihex_get_byte(), ihex_read_section(), ihex_scan(), inf_read_upto(), inf_scan_ident(), inf_skip_spaces(), init_md_reader(), java_get_line_col(), java_is_eol(), java_read_char(), l_C(), l_CHAR(), l_L(), l_read(), main(), Move_Locations_To_Anl_File(), NAMEs_rsNe_work(), next_arg_is_kwd_equal(), next_id_is_imp_control(), nl_read(), obstack_fgets(), PARAMS(), pe_dll_generate_def_file(), pex_run_in_environment(), print_err_line(), process_args(), process_cmd_line(), process_include(), rd_ed(), read_braced_string(), read_filename_string(), read_line(), read_name(), read_name_map(), read_quoted_string(), read_rtx(), read_rtx_1(), read_skip_spaces(), read_table(), read_upto(), reset_src_input(), RNL(), s_rsle_com(), s_rsue_com(), scan_ident(), scan_string(), set_stmt_type_known(), skip_block_comment(), skip_escaped_newlines(), skip_old_ii_controls(), skip_old_rii_controls(), skip_spaces(), srec_bad_byte(), srec_get_byte(), srec_read_section(), srec_scan(), t_getc(), t_gets(), t_putc(), TB_getline(), test_for_changes(), unf_position(), update_instantiation_info_file(), update_rii_file(), x_getc(), x_gets(), xrd_SL(), y_getc(), y_gets(), and z_getc().

#define EOR   0

Definition at line 52 of file calio.c.

#define FULL   1

Definition at line 65 of file calio.c.

#define IOERR   -1

#define MYRMAX   256

Definition at line 69 of file calio.c.

Referenced by cal_wch().

#define OK   0

Definition at line 57 of file calio.c.

Referenced by _f_open(), cal_wch(), and SETPOS().

#define PARTIAL   0

Definition at line 64 of file calio.c.


Function Documentation

long cal_rch ( FILE fp,
long uda,
long  chars,
long  mode,
long status 
)

Definition at line 76 of file calio.c.

References _filbuf, BLANK, c, CNT, EOF, EOR, FULL, getc(), i, memchr(), n, NULL, ungetc(), and void.

long cal_rwd ( FILE fp,
long uda,
long  words,
long  mode,
long status 
)

Definition at line 349 of file calio.c.

References c, EOF, EOR, fread, IOERR, and n.

long cal_wch ( FILE fp,
long uda,
long  chars,
long  mode,
long status 
)

Definition at line 242 of file calio.c.

References c, EOF, ferror(), fileno, FULL, i, IOERR, long, MYRMAX, n, NULL, OK, putc(), and write.

long cal_wwd ( FILE fp,
long uda,
long  words,
long  mode,
long status 
)

Definition at line 387 of file calio.c.

References fwrite, IOERR, and n.


Variable Documentation

char USMID[] = "@(#) libf/fio/c1/calio.c 92.0 10/08/98 14:30:10" [static]

Definition at line 37 of file calio.c.


Generated on Wed Apr 8 15:53:05 2009 for Open64 by  doxygen 1.5.6