Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Nov 1998 19:42:49 -0800 (PST)
From:      Joseph Koshy <jkoshy>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ), cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: sendfile.2 (was Re: cvs commit: ...) 
Message-ID:  <199811060342.TAA11021@hub.freebsd.org>
In-Reply-To: Your message of "Thu, 05 Nov 1998 18:56:46 PST." <199811060256.SAA00345@apollo.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


>     Another thing that would be useful now that mmap() works reliably
>     would be to actually use it in the stdio library for read operations
>     on plain files: [f]getc(), fgets(), and fread().  The only difficulty
>     here is in how to deal with file truncation issues, since accessing
>     mmap'd pages beyond the file's size will segfault.

For what its worth, the SFIO library from AT&T already supports 
this.  I don't remember what copyright it is released under though.

Koshy
<jkoshy@freebsd.org>





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



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