xref: /dflybsd-src/test/sysperf/syscall3.c (revision adc1b605934bacf302ccccade779ae0d96f51f2a)
16b055cd4SMatthew Dillon /*
26b055cd4SMatthew Dillon  * syscall3.c
36b055cd4SMatthew Dillon  */
46b055cd4SMatthew Dillon 
56b055cd4SMatthew Dillon #include "blib.h"
66b055cd4SMatthew Dillon 
76b055cd4SMatthew Dillon int
main(int ac,char ** av)86b055cd4SMatthew Dillon main(int ac, char **av)
96b055cd4SMatthew Dillon {
10*adc1b605SMatthew Dillon     printf("(non timing) one process, endless loop calling getuid()\n");
116b055cd4SMatthew Dillon     for (;;)
12*adc1b605SMatthew Dillon 	getuid();
136b055cd4SMatthew Dillon     /* not reached */
146b055cd4SMatthew Dillon     return(0);
156b055cd4SMatthew Dillon }
166b055cd4SMatthew Dillon 
17