Re: Get full commandline parameters
Posted: Sat Oct 03, 2015 9:36 pm
If I open the directory or use: ls -l /proc/self/Keya wrote:... you both seem to be suggesting that the call to /proc/self/ is creating those ~28 files
the creation-time of those files is exactly the moment when I look or use that command.
It's the same here, and also with the creation-times of the very moment.but in my Mint from the terminal i can go to any /proc/ ... say, /proc/13/ which is just one picked at random, type 'ls', and it too has all those files, like cmdline
It seems they are (re-?)-created whenever a folder within /proc/ is addressed.and i'm only calling ReadFile and ReadString... how can that be creating files? so arent they always there? or does simply the act of opening the directory actually create them?
So it's not your routine creating them (only initializing it), but to me it seemed so, as their creation times were the of the same time that I had run your code.