syscalls for freebsd

_demos/keyboard works for me on freebsd 386 and amd64 with this syscalls_freebsd file