osfmk/man/task_get_emulation_vector.html
Function - Return an array identifying the target task's user-level system call handlers.
**kern\_return\_t task\_get\_emulation\_vector**** (task\_t **task,** int **vector\_start,** emulation\_vector\_t **emulation\_vector,** mach\_msg\_type\_number\_t\ ***emulation\_vector\_count** );**
task[in task send right] The port for the task for which the system call handler addresses are desired.
vector_start[out scalar] The syscall number corresponding to the first element of emulation_vector.
emulation_vector[out pointer to dynamic array of vm_address_t] Pointer to the returned array of routine entrypoints for the system calls starting with syscall number vector_start.
emulation_vector_count[out scalar] The number of entries filled by the kernel.
The task_get_emulation_vector function returns the user-level syscall handler entrypoint addresses.
This interface is machine word length specific because of the virtual addresses in the emulation_vector parameter.
Only generic errors apply.
Functions: task_set_emulation_vector.