[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fprintf failing with EINTR

From: Brent W. Baccala
Subject: fprintf failing with EINTR
Date: Tue, 4 Oct 2016 15:26:51 -1000

Aloha -

I've seen this behavior several times with Hurd: fprintf(stderr, ...) will return -1 with errno = EINTR.

I'm not used to fprintf failing like this (I'm getting used to it), and this last time I spent several hours hunting for a "bug" that turned out to be nothing more than a debugging statement failing to print.

Is this a bug?  (I suppose fprintf to stderr could fail...)  Have others seen this behavior?

I have a test program that reproduces it consistently.  Should I file it as a bug report?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]