From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Grant Subject: printf 3 Date: Tue, 04 Oct 2011 00:58:42 +0100 Message-ID: <4E8A4C32.9000607@jguk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html