Re: [PATCH] 'select' failure or signal should not update timeout

From: Alan Cox (alan@redhat.com)
Date: Fri Jul 19 2002 - 19:38:35 EST


> <http://www.opengroup.org/onlinepubs/007904975/functions/select.html>
> says that 'select' may modify its timeout argument only "upon
> successful completion". However, the Linux kernel sometimes modifies
> the timeout argument even when 'select' fails or is interrupted.

This is extremely useful behaviour. POSIX is broken here. Fix it in the
C library or somewhere it doesn't harm the clueful

You should raise this with the standards committee instead
-
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 : Tue Jul 23 2002 - 22:00:32 EST