Re: EINTR vs ERESTARTSYS, ERESTARTSYS not defined

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Nov 26 2001 - 14:59:40 EST


> 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/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:23 EST