MS(3)

NAME

ms_read_record, ms_parse, ms_write_record - read and write Molecular Surface (ms) records

SYNOPSIS

#include <ms.h>

ms_record ms_read_record(f)
FILE *f;

ms_record ms_parse(line_buffer)
char *line_buffer;

void ms_write_record(f, m)
FILE *f;
ms_record *m;

DESCRIPTION

The routines listed above are subroutines for Molecular Surface record I/O and are available in the pdb library, typically -L/usr/local/midas/lib -lpdb.

Although the header file is too long to reproduce here, it should be perused before using any of the above routines. It is typically found in /usr/local/midas/include.

ms_read_record reads the next line of input from the file f, and returns the contents parsed into a C structure. ms_parse parses the contents of the line buffer and returns a C structure. ms_write_record writes the contents of the MS record (*m) to the file f.

SEE ALSO

dms(1)

DIAGNOSTICS

Upon reaching the end of the file, ms_read_record will return a record with MS_END as its type.

COPYRIGHT

Copyright c 1992 The Regents of the University of California. All rights reserved.

Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by the University of California, San Francisco. The name of the University may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.