X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..HEAD:/osfmk/man/mach_task_self.html diff --git a/osfmk/man/mach_task_self.html b/osfmk/man/mach_task_self.html old mode 100755 new mode 100644 index 130c7e264..a887717da --- a/osfmk/man/mach_task_self.html +++ b/osfmk/man/mach_task_self.html @@ -1 +1,31 @@ -
System Trap - Return a send right to the caller's task_self port.
#include<mach/mach_traps.h> mach_port_t mach_task_self (void)
None.
The mach_task_self function returns send rights to the task's kernel port.
This function call is redefined in the mach_init.h file to return the caller's mach_task_self_ environment variable, which is cached on behalf of the caller's task at runtime. (The mach_init.h file is itself included via the mach.h file.
Only generic errors apply.
Functions: task_set_special_port. \ No newline at end of file +
+System Trap - Return a send right to the caller's task_self port. +
+#include<mach/mach_traps.h> + +mach_port_t mach_task_self (void) ++
+None. +
+The mach_task_self function returns send rights to +the task's kernel port. +
+This function call is redefined in the mach_init.h file +to return the caller's mach_task_self_ environment variable, +which is cached on behalf of the caller's task at runtime. +(The mach_init.h file is itself included via the +mach.h file. +
+Only generic errors apply. +
+Functions: +task_set_special_port.