Re: linux strlen man page accepts NULL?

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

 



Jon,

On Fri, Aug 7, 2009 at 1:55 PM, Jon Grant<jg@xxxxxxxx> wrote:
> Looking at this man page:
>
> http://linux.die.net/man/3/strlen
>
> Should it not mention that a NULL address is a valid param? Or is it
> not a valid param?

What makes you think it is a valid parameter?

> On most systems NULL is a special error pointer.

I don't understand what you mean with this last sentence. Please explain.

Thanks,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Watch my Linux system programming book progress to publication!
http://blog.man7.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux