Jeff On Wed, Apr 21, 2010 at 9:00 PM, Jeff Mahovsky <Jeff.Mahovsky@xxxxxxxxxxxxxx> wrote: > The stat(2) manpage does not indicate the behavior of the stat() function > when the filename is a NULL pointer. Does stat() return an error or is the > behavior undefined? > > Jeff Mahovsky > Dreamworks Animation Just to add to what Petr said. A NULL pointer is a general kind of error that can affect many interfaces. I don't really see a need to document this case for a specific interface. Thanks, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface" 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