Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!tgr!bilbo.niket@LOCUS.UCLA.EDU
From: bilbo.niket@LOCUS.UCLA.EDU (Niket K. Patwardhan)
Newsgroups: net.unix-wizards
Subject: Re: SHMOP (SYSV) returns -1 on error
Message-ID: <2391@brl-tgr.ARPA>
Date: Thu, 24-Oct-85 14:10:21 EDT
Article-I.D.: brl-tgr.2391
Posted: Thu Oct 24 14:10:21 1985
Date-Received: Sat, 26-Oct-85 04:08:34 EDT
Sender: news@brl-tgr.ARPA
Lines: 5


I thought that every SYSTEM CALL returned -1 on error. For example, read
returns -1 if you give it a fid that hasn't been opened, is not readable etc.
EOF is NOT considered an error, and is signalled by a 0 return. Thus SHMOP
returning -1 on an error would be consistent with all other system calls.