Re: EINTR vs ERESTARTSYS, ERESTARTSYS not defined

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 26 Nov 2001 19:59:40 +0000 (GMT)


> In user space I have to define __KERNEL__ to get programs to compile
> when coded to know about all possible (valid?) values of errno from
> system calls. As seen from strace:

Beware of strace data. Record the actual syscall returns in your program.
strace sees restarts, your app doesnt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/