From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <956a268f177763e4cb4f4ad8177cf5a6@plan9.bell-labs.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] sendfile interface From: "Russ Cox" In-Reply-To: <20030224065045.A5493@unicorn.math.spbu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Sun, 23 Feb 2003 23:03:13 -0500 Topicbox-Message-UUID: 6fe324aa-eacb-11e9-9e20-41e7f4b1d025 It would be trivial to write a zero-copy system call int syscopy(int from, int to, int n); About ten lines of code, if it were really necessary. It's a good exercise. Russ