reubenhwk/radvd — comment on commit 41c6192041879cbad8591d318e3b0e758edecf16
File:  line 0
By reubenhwk:

On Mon, Jan 16, 2012 at 9:47 AM, theMIROn

wrote:
> atoi doesn't catch "1234abd" errors, it will return 1234.
> atoi == strtoul(str, NULL, 10)
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/reubenhwk/radvd/commit/41c6192041879cbad8591d318e3b0e758edecf16#commitcomment-871495

Could you take a look at what's in there now? I've added a function
strtopid which is just calling into atol. Would you mind making it
better? If the pid string is invalid, return 0 and radvd won't try to
kill 0.

Thanks in advance,
Reuben