MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sys_getitimer

Function sys_getitimer

freebsd/kern/kern_time.c:741–751  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739};
740#endif
741int
742sys_getitimer(struct thread *td, struct getitimer_args *uap)
743{
744 struct itimerval aitv;
745 int error;
746
747 error = kern_getitimer(td, uap->which, &aitv);
748 if (error != 0)
749 return (error);
750 return (copyout(&aitv, uap->itv, sizeof (struct itimerval)));
751}
752
753int
754kern_getitimer(struct thread *td, u_int which, struct itimerval *aitv)

Callers 1

sys_setitimerFunction · 0.85

Calls 2

kern_getitimerFunction · 0.85
copyoutFunction · 0.50

Tested by

no test coverage detected