In article <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
> I need to know the exact format of the /proc/*/cmdline of
> FreeBSD. Actually I'm using 4.1 and I have discovered that at the
> end of cmdline file there are always 2 NULL characters.
I'm not seeing that on my 4.x-stable system from about a month ago:
austin$ sleep 100 &
[1] 67372
austin$ hd 67372/cmdline
00000000 73 6c 65 65 70 00 31 30 30 00 |sleep.100.|
0000000a
As you can see, there's just a single NUL at the end.
John
--
John Polstra [EMAIL PROTECTED]
John D. Polstra & Co., Inc. Seattle, Washington USA
"Disappointment is a good sign of basic intelligence." -- Ch�gyam Trungpa
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message