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.