Hello Jon, On 7 October 2013 at 20:01, Jon Grant <jg@xxxxxxxx> wrote: > Hello mtk > > Just looking at this page: > > http://man7.org/linux/man-pages/man3/realpath.3.html > > I expect realpath could set errno to ENOMEM if malloc failed. POSIX > page says ENOMEM too: > > http://pubs.opengroup.org/onlinepubs/009695399/functions/realpath.html Agreed. I added ENOMEM. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- 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