Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 1998 00:25:14 -0500 (CDT)
From:      Joel Ray Holveck <joelh@gnu.org>
To:        grog@lemis.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Portability of scatter / gather
Message-ID:  <199807040525.AAA15330@detlev.UUCP>
In-Reply-To: <19980704141243.B358@freebie.lemis.com> (message from Greg Lehey on Sat, 4 Jul 1998 14:12:43 %2B0930)
References:  <199807040356.WAA14496@detlev.UUCP> <19980704141243.B358@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> On all BSD systems, is it the case that an item written with writev
>> can be read with read without translation, or does readv have to be
>> used?
> readv and writev are just ways of transferring the data.  After it is
> onn the medium, you can't tell how it got there.  So yes, you can read
> it without translation.

(Thanks also to Julian for his quick response.)

How about mixing send and read, or write and recv?  Are these
equivilent on a socket if flags == 0?

Thanks,
joelh

-- 
Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807040525.AAA15330>