Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: f8dff5e333
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (9 sloc) 0.193 kB
#include <mach-o/dyld.h>
#include <stdio.h>
int main() {
char buf[4096];
unsigned int size = 4095;
int r = _NSGetExecutablePath(buf, &size);
printf("r=%d %s\n", r, buf);
return 0;
}
Jump to Line
Something went wrong with that request. Please try again.