Module libc/dyld
libc/dyld
macOS <mach-o/dyld.h> — dynamic linker interface.
Only available when compiling for macOS: import this module only from
inside a platform == Platform.Macos branch (the same rule as
std/libc/windows).
Functions
_NSGetExecutablePath
function
fn(buf : *(char), bufsize : *(u32)) -> int
Parameters
| Name | Type | Notes |
|---|---|---|
buf | *(char) | |
bufsize | *(u32) |
Returns: int