read() on pipe returns -1 and errno set to 0
Hello,
I have a server program which is running on Suse Linux Enterprise Server 10 SP1 on i686. This program works pretty well, but once a month or so it terminates abruptly. According to trace files it is caused by Code:
if ((*length = read (PINPUT,Pbuffer,sizeof(PKOPF))) == -1 && errno != EINTR) |
Quote:
Quote:
This may seem silly, but are SYS_FEHLER_RTC and FEHLER macros? And can you post their definitions? |
I'm sorry for a long reply. The exact code is
Code:
errno = 0; Code:
#define FEHLER(rtx,p)\ Code:
#define SYS_FEHLER_RTC 101 |
All times are GMT -5. The time now is 03:01 PM. |