MPI_File_get_position_shared(3) on Linux
The text 8b32cef6d0f0, as Debian 13 (Trixie), Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster) shipped it.
Returns the current position of the shared file pointer in etype units relative to the current view