In article <[EMAIL PROTECTED]>,

> 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.|

As you can see, there's just a single NUL at the end.

  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

Reply via email to