MPI_Test_cancelled

int MPI_Test_cancelled(MPI_Status *, int *);
Tests whether a non-blocking operation was cancelled.