int data_to_write(data)
SURVO_DATA *data; /* pointer to data structure */
The data_to_write function closes a SURVO 84C data opened by data_read_open and reopens it for reading and writing.
data_to_write returns 1 if the data is succesfully reopened and -1 otherwise. In the latter case an error message is displayed.