errno.h: ESTRPIPE

Warren Young
Fri Mar 13 12:11:00 GMT 2009

Corinna Vinschen wrote:
> This is very Linux device specific and this never occurs on Cygwin.
> What about just defining this error code to some arbitrary value like
>   #ifdef __CYGWIN__
>   #define ESTRPIPE 9999
>   #endif

I like it.  If there are any other errno constants supported by Linux 
but not Cygwin, you could also define them with the same value.  It 
would effectively be the "this never happens" value.

More information about the Cygwin-patches mailing list