prototype for syscall for bsd