next up previous contents
Next: ndb_cif_read_ddl Up: Function Description Previous: ndb_cif_read_file

ndb_cif_write_file

NAME ndb_cif_write_file

PROTOTYPE

#include "cifparse.h"

int ndb_cif_write_file(CifHandle *cf,
                       FILE *fp);
PURPOSE

ndb_cif_write_file writes all of the data blocks loaded into the CifHande data structure specified by cf to the file pointed to by the input file descriptor.

RECEIVES

cf pointer to the CifHandle data structure where the data blocks loaded
fp pointer to the file descriptor for the mmCIF output file

RETURN VALUE

Returns the number of data blocks written or 0 for failure.

REMARKS

See also: ndb_cif_read_file



Olivera Tosic
6/12/2002