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 debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/98940818827672@192.168.2.69

Reply via email to