The OpenD Programming Language

core.sys.darwin.crt_externs

D header file for libc/crt_externs.h.

Members

Functions

_NSGetArgc
int* _NSGetArgc()

Returns the number of program arguments.

_NSGetArgv
char*** _NSGetArgv()

Returns the program arguments.

_NSGetEnviron
char*** _NSGetEnviron()

Returns the program environment variables.

_NSGetMachExecuteHeader
MachHeader* _NSGetMachExecuteHeader()

Returns the Mach-O header of the current executable.

_NSGetProgname
char** _NSGetProgname()

Returns the full path to the current executable as a pointer to a null terminated C string.

Structs

MachHeader
struct MachHeader

In reality this will be core.sys.darwin.mach.loader.mach_header on 32-bit platforms and core.sys.darwin.mach.loader.mach_header_64 64-bit platforms.

Meta

Authors

Jacob Carlborg