printf 3

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


Hello

Looking at this page:
http://man7.org/linux/man-pages/online/pages/man3/printf.3.html

"If an output error is encountered, a negative value is returned."

I am thinking if this could be clarified. If I call printf(NULL), errno is set to EINVAL, and -1 is returned.

Perhaps could be expanded to add:

"If a parameter error is encountered, errno set to EINVAL, and -1 is returned. If an output error is encountered, errno set EIO and -1 returned.

Best regards, Jon
--
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


[Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Memory]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

Add to Google Powered by Linux