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!gwyn
From: gwyn@brl-tgr.ARPA (Doug Gwyn )
Newsgroups: net.unix-wizards
Subject: Re:        Re: SHMOP (SYSV) returns -1 on error
Message-ID: <2408@brl-tgr.ARPA>
Date: Thu, 24-Oct-85 16:54:31 EDT
Article-I.D.: brl-tgr.2408
Posted: Thu Oct 24 16:54:31 1985
Date-Received: Sat, 26-Oct-85 04:10:26 EDT
References: <2391@brl-tgr.ARPA>
Organization: Ballistic Research Lab
Lines: 6

> 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.

So tell me, what does that mean for a (char *)-valued function?