We return EIDRM if the msg queue is removed, not EINVAL.

This commit is contained in:
simonb 2000-04-12 13:03:52 +00:00
parent a388797ed5
commit e28dc2c70b

View File

@ -1,4 +1,4 @@
.\" $NetBSD: msgrcv.2,v 1.10 1999/12/02 21:42:38 kleink Exp $
.\" $NetBSD: msgrcv.2,v 1.11 2000/04/12 13:03:52 simonb Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
.\" All rights reserved.
@ -122,7 +122,7 @@ A message of the requested type becomes available on the message queue.
The message queue is removed, in which case -1 will be returned and
.Va errno
set to
.Er EINVAL .
.Er EIDRM .
.It
A signal is received and caught. -1 is returned and
.Va errno