In 10.6, KERN_PROCARGS2 is available: https://gist.github.com/770696
This way is used from ps, procfs on MacFUSE, etc.
More Related Contents:
- Can’t compile C program on a Mac after upgrade to Mojave
- Can’t compile a C program on a Mac after upgrading to Catalina 10.15
- How do you do non-blocking console I/O on Linux in C?
- sem_init on OS X
- clock_gettime alternative in Mac OS X
- How to convert ASCII character to CGKeyCode?
- Regarding ‘main(int argc, char *argv[])’ [duplicate]
- How can I run a C program on Mac OS X using Terminal?
- Creating static Mac OS X C build
- GCC left shift overflow
- How to get network adapter stats in linux/Mac OSX?
- Is a Linux executable “compatible” with OS X?
- When can argv[0] have null?
- Programmatically retrieving the absolute path of an OS X command-line app
- argv[argc] ==?
- How do I add a directory to C header include path?
- Strange RAW Socket on Mac OS X
- Reading Other Process’ Memory in OS X?
- Why does C program print 0D instead of 0? (When EOF sent as Ctrl+D) [duplicate]
- Equivalent to Windows getch() for Mac/Linux crashes
- Compiling a C program that uses OpenGl in Mac OS X
- library not found for -lrt with QtCreator [mac os]
- C: Different implementation of clock() in Windows and other OS?
- Swift: How to call a C function loaded from a dylib
- Why when I print it appears 80 for *str in decimal (letter P in ASCII)?
- Is there still room for optimization in this part of the code?
- read specific number of chars in c [closed]
- Range of values in C Int and Long 32 – 64 bits
- Manipulate multidimensional array in a function
- How to convert int to float in C?