Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <cif.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include "cif_int.h"
Go to the source code of this file.
Defines | |
#define | CIF_VERSION 3 |
Functions | |
static int | write_strlist (char **sp, int ns) |
static int | write_unitdir (struct Cif_generic *cr) |
int | Cif_Putrecord (int cifd, struct Cif_generic *cr) |
Variables | |
static char | USMID [] = "@(#) libcif/cifputrec.c 30.6 07/26/96 07:19:13" |
static FILE * | fd |
#define CIF_VERSION 3 |
Definition at line 51 of file cifputrec.c.
int Cif_Putrecord | ( | int | cifd, |
struct Cif_generic * | cr | ||
) |
Definition at line 122 of file cifputrec.c.
References _Cif_filetbl, _Cif_shortsize, _Cif_structsize, c, CIF_BADFORM, CIF_BADREQ, CIF_C_CONST, CIF_C_ENTRY, CIF_C_MESSAGE, CIF_C_OBJECT, CIF_C_OPTS, CIF_C_TAG, CIF_CALLSITE, CIF_COMBLK, CIF_CONST, CIF_ENDUNIT, CIF_ENTRY, CIF_FILE, CIF_FILEDIR, CIF_FT_SIZE, CIF_LABEL, CIF_MAXRECORD, CIF_MESSAGE, CIF_MISC_OPTS, CIF_NAMELIST, CIF_ND_MSG, CIF_NOTOPEN, CIF_OBJECT, CIF_SYSERR, CIF_UNIT, CIF_UNITDIR, CIF_USAGE, CIFCB, CIFCCON, CIFCENTRY, CIFCMSG, CIFCOBJ, CIFCON, CIFCOPTS, CIFCS, CIFCTAG, CIFENDU, CIFENTRY, CIFFDIR, CIFFILE, CIFLABEL, CIFMO, CIFMSG, CIFNL, CIFNMSG, CIFOBJ, CIFUNIT, CIFUSAGE, defs, DIM_SSIZE, fd, _Cif_File_Tbl::fd, name, Cif_unittbl::name, Cif_unittbl::nlen, NOT_A_CIF, NULL, Cif_generic::rectype, TMOD_SSIZE, UNITTBL_SSIZE, write_strlist(), and write_unitdir().
Referenced by print_header_records(), print_include_records(), print_records(), sortfile(), write_header(), and write_unit().
static int write_strlist | ( | char ** | sp, |
int | ns | ||
) | [static] |
Definition at line 70 of file cifputrec.c.
References CIF_SYSERR, and fd.
Referenced by Cif_Putrecord().
static int write_unitdir | ( | struct Cif_generic * | cr | ) | [static] |
Definition at line 91 of file cifputrec.c.
References CIF_SYSERR, CIF_UNITDIR, CIFUDIR, fd, Cif_unitdir::maxsid, Cif_urectbl::nrecords, Cif_unitdir::nsections, Cif_unitdir::rectype, UNITDIR_SSIZE, and URECTBL_SSIZE.
Referenced by Cif_Putrecord().
FILE* fd [static] |
Definition at line 66 of file cifputrec.c.
char USMID[] = "@(#) libcif/cifputrec.c 30.6 07/26/96 07:19:13" [static] |
Definition at line 37 of file cifputrec.c.