Re: aio_error query
From: Michael Kerrisk <hidden>
Date: 2012-02-20 01:32:04
Hi Jon, On Mon, Feb 20, 2012 at 12:15 AM, Jon Grant [off-list ref] wrote:
Michael Kerrisk wrote, On 19/02/12 02:40:quoted
Hi Jon On Sun, Feb 19, 2012 at 9:37 AM, Jon Grant[off-list ref] wrote:quoted
Hi Michael Michael Kerrisk wrote, On 18/02/12 18:18: [...]quoted
quoted
http://pubs.opengroup.org/onlinepubs/009604599/functions/xsh_chap02_03.html http://www.cl.cam.ac.uk/cgi-bin/manpage?3+errnoquoted
quoted
errno is an int, and the values I think are not guaranteed to be positive (like with glibc). I work on a system where they are all negative.What is the system?http://www.mpcdata.com/mediasdk/Is this actually a UNIX system?No.
(This would have been useful info early in the thread ;-).) So, I checked with someone close to POSIX who pointed out to me that there is this text in the POSIX.1-2001 specification of the <errno.h> header file: [[ The <errno.h> header shall provide a declaration for errno and give positive values for the following symbolic constants. Their values shall be unique except as noted below. ]] So, I think the man page is fine (but you could file a bug with Renesas about their implementation). Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- 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