1/* 2#progos: linux 3*/ 4 5#include <sched.h> 6#include <stdio.h> 7#include <stdlib.h> 8#include <string.h> 9#include <unistd.h> 10 11int main (void) 12{ 13 struct sched_param sb; 14 memset (&sb, -1, sizeof sb); 15 if (sched_getparam (getpid (), &sb) != 0 16 || sb.sched_priority != 0) 17 abort (); 18 printf ("pass\n"); 19 exit (0); 20} 21