*BSD News Article 7000


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!mcsun!Germany.EU.net!unidui!flyer!flatlin!bad
From: bad@flatlin.ka.sub.org (Christoph Badura)
Subject: Re: Repeat of the question about VFS and VOP_SEEK()
Organization: Guru Systems/Funware Department
Date: Sat, 24 Oct 1992 00:49:33 GMT
Message-ID: <BwLoyL.85z@flatlin.ka.sub.org>
References: <b3co03lsb3LE00@amdahl.uts.amdahl.com> <1992Oct20.193544.2360@fcom.cc.utah.edu>
Lines: 14

In <1992Oct20.193544.2360@fcom.cc.utah.edu> terry@cs.weber.edu (A Wizard of Earth C) writes:
>I suspect this is what should be happening when you
>seek on a special device... the lseek should return a -1 with errno
>set to EIO/EINVAL/ESPIPE/EBADFD (EINVAL seems most reasonable).

EBADFD is reserved for an invalid file descriptor beeing passed to a
system call (as opposed to EINVAL).

EOPNOTSUPPORT would be more appropriate for obvious reasons.
-- 
				Christoph Badura  ---  bad@flatlin.ka.sub.org

AIX is a better... is a better...  is a better... OpenSystem.
					IBM Rep at GUUG Symposium '92