int drms_segment_write_from_file ( DRMS_Segment_t seg,
const char *  infile 
)

Simply copies the contents of the file specified by infile into the file associated with seg. It can only be used for segments whose protocol is DRMS_GENERIC.

Parameters:
seg The segment whose file is to be written to the filesystem.
infile The input file whose contents are to be written to the file owned by .
Returns:
DRMS status (see drms_statuscodes.h). 0 if successful, non-0 otherwise.

Definition at line 2292 of file drms_segment.c.


Generated on Mon Mar 26 07:00:50 2018 for JSOC_Documentation by  doxygen 1.5.7.1