Sets the values of the di struct to the rank and axis lengths of seg.
- Parameters:
-
| seg | DRMS segment whose information is used to initialize di. |
| di | Receives, by reference, the segment information in seg. |
- Returns:
- DRMS status (see drms_statuscodes.h). 0 if successful, non-0 otherwise.
Definition at line 515 of file drms_segment.c.