process: macos process address space...

This comment's origin could be disputable it's from libtop.c
from macOS top command. There is very little external documentation
for these things. As time goes on it gets worse....
This commit is contained in:
Alastair Poole 2020-07-26 22:48:52 +01:00
parent 029a186dc5
commit e1874496fd
1 changed files with 3 additions and 1 deletions

View File

@ -546,7 +546,9 @@ _cmd_get(Proc_Info *p, int pid)
args = malloc(argmax);
if (!args) return;
/*
/* See libtop.c (top) for the origin of this comment, which is necessary as
* there is little other documentation...thanks Apple.
*
* Make a sysctl() call to get the raw argument space of the process.
* The layout is documented in start.s, which is part of the Csu
* project. In summary, it looks like: