[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libps



On Sun, Jan 23, 2000 at 12:30:00AM -0500, Neal H Walfield wrote:
> Hi All,
> 
> ps.h states on lines 257-260 that:
> /* The process's argv, as a string with each element separated by '\0'.  */
> char *args;
> /* The length of ARGS.  */
> unsigned args_len;
> 
> It actually contains that plus an extra null at the end.

"as a string" --- isn't a string always ended by a null?
Or do you mean there are two nulls at the end?

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server 
Marcus Brinkmann              GNU    http://www.gnu.org    for public PGP Key 
Marcus.Brinkmann@ruhr-uni-bochum.de,     marcus@gnu.org    PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       brinkmd@debian.org


Reply to: