ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

darwin:kevent64

T1 apple-silicon syscall syscall
macOS / XNU Syscall #369: kevent64
SourcemacOS / Darwin XNU BSD Syscall Table (syscalls.master) (apple_xnu_syscalls)
Reliability TierT1 — Official Specification
ISA / Silicon ScopemacOS / Darwin XNU
macOS / iOS / Darwin XNU
License & VersionAPSL-2.0
xnu/main
Upstreamhttps://github.com/apple-oss-distributions/xnu/blob/main/bsd/kern/syscalls.master
Privilegeuser->supervisor
ExtensionsDarwin-XNU, BSD

Summary

Apple Darwin / macOS BSD syscall #369: int kevent64(int fd, const struct kevent64_s *changelist, int nchanges, struct kevent64_s *eventlist, int nevents, unsigned int flags, const struct timespec *timeout). Invoked via svc #0x80 (ARM64, x16=369) or syscall (x86-64, rax=0x2000000+369).

Syntax / Encoding

/* XNU BSD #369 */
int kevent64(int fd, const struct kevent64_s *changelist, int nchanges, struct kevent64_s *eventlist, int nevents, unsigned int flags, const struct timespec *timeout);