Is system.listSyscalls() what you are looking or at least usable for that purpose?
system.listSyscalls()