This routine returns the schedule that is applied when the loop directive specifies a runtime schedule.
SUBROUTINE OMP_GET_SCHEDULE(KIND, MODIFIER)
INTEGER (KIND=OMP_SCHED_KIND) KIND
INTEGER MODIFIER
#include <omp.h>
void omp_get_schedule(omp_sched_t * kind, int * modifier )