Hi,
> > does errno -303 announce bigger trouble ?
> Probably yes: the query/reply IPC ping-pong got disturbed somehow.
Here is a minimal C example:
--------------------------------------------------------------------
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
int main()
{
int ret;
printf("Hello world\n");
ret = fsync(1);
fprintf(stderr, "fsync(1)= %d , errno = %d\n", ret, errno);
}
--------------------------------------------------------------------
Test runs
$ ./a.out | cat >/dev/null
fsync(1)= -1 , errno = -303
$ ./a.out
Hello world
fsync(1)= 0 , errno = 0
Have a nice day :)
Thomas
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]