mirror of
https://github.com/Karmaz95/Snake_Apple.git
synced 2026-07-08 19:37:51 +02:00
9 lines
205 B
C
9 lines
205 B
C
#include <mach/mach.h>
|
|
|
|
int main() {
|
|
mach_port_t port;
|
|
mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port);
|
|
return 0; // Port allocation directly interacts with kernelspace
|
|
}
|
|
|