What is the /proc/self/cmdline / GetCommandLine equivalent on Mac OS X?

Viewed 1921

How can I access the command line on Mac OS X without using argc, argv? On Linux, I would simply read /proc/self/cmdline or use GetCommandLine on Windows, but I can't find the equivalent for Mac OS X.

1 Answers
Related