我要评分
获取效率
正确性
完整性
易理解

Converting a Relative View Offset to an Absolute Byte Location

Function Syntax

MPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset, MPI_Offset *disp)

PMPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset, MPI_Offset *disp)

Parameters

Parameter

Description

Value Range

Input/Output

fh

File (handle)

Non-empty

Input

offset

Offset

Non-negative integer

Input

*disp

Absolute byte location of the offset

Non-empty

Output

Return Value

  • Success: MPI_SUCCESS
  • Failure: An error code is returned.

Error Code

Error Code

Description

MPI_ERR_FILE

Invalid file handle