next up previous contents
Next: ndb_cif_write_file_pr Up: Function Description Previous: ndb_cif_print_datablocks

ndb_cif_write_category

NAME ndb_cif_write_category

PROTOTYPE

#include "cifparse.h"

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

ndb_cif_write_category writes all of the data of current category loaded into the CifHande data structure specified by cf to the file pointed to by fp.

RECEIVES

cf pointer to CifHandle 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

None



Olivera Tosic
6/12/2002