#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/Subroutines | |
| 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, args, assert, c, char, 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, fwrite, i, int, lines, long, mem, mods(), n, Cif_unittbl::name, Cif_unittbl::nlen, NOT_A_CIF, NULL, Cif_generic::rectype, strlen(), TMOD_SSIZE, UNITTBL_SSIZE, version, 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, fd, fwrite, i, and strlen().
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, fwrite, i, int, Cif_unitdir::maxsid, Cif_urectbl::nrecords, Cif_unitdir::nsections, Cif_unitdir::rectype, UNITDIR_SSIZE, and URECTBL_SSIZE.
Referenced by Cif_Putrecord().
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.
1.5.6