next up previous
Next: Test and Wait Up: ADIO Design Previous: Collective Reads and

Seek

ADIO_Offset ADIO_SeekIndividual(ADIO_File fd, ADIO_Offset offset, int whence, int *error_code)

This function can be used to change the position of the individual file pointer. The file pointer is set according to the value supplied for whence, which could be ADIO_SEEK_SET, ADIO_SEEK_CUR, or ADIO_SEEK_END. If whence is ADIO_SEEK_SET, the file pointer is set to offset bytes from the start of the file. If whence is ADIO_SEEK_CUR, the file pointer is set to offset bytes after its current location. If whence is ADIO_SEEK_END, the file pointer is set to offset bytes after the end of the file.



Rajeev Thakur
Mon Oct 14 18:36:34 CDT 1996