use longs for pselect6 too
arm does not have alarm syscall