lkml.org 
[lkml]   [1996]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: POSIX compatibility?
From
Date

koenig@tat.physik.uni-tuebingen.de (Harald Koenig) writes:

> > could somebody enlighten me? According to POSIX.1 the following
> > program should exit with status 0:
>
> not really an explanation but a pointer:
>
> if you're really only using read(2) for reading, things work as expected:

Hhm, the test case appears in the form I posted in the POSIX test
suite and I assume POSIX 2003.1 explicitly mentions this test.

I looked a bit through the arch specific signal handling but haven't
understood it really. There is already some special handling for
returning calls to a signal handler. It tests whether a syscall was
interrupted but I cannot find out what really happens. The POSIX test
makes me think that at least for some syscalls the syscall should be
aborted with EINTR.

-- Uli
---------------. drepper@cygnus.com ,-. Rubensstrasse 5
Ulrich Drepper \ ,-------------------' \ 76149 Karlsruhe/Germany
Cygnus Solutions `--' drepper@gnu.ai.mit.edu `------------------------

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.278 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site