Re: fsync for only part of a file

Jonathan Chen <[email protected]> Sat, 13 Sep 2003 12:51:06 -0400
Newsgroups gmane.os.bsd.api.general
Message-ID <[email protected]>
On Fri, Sep 12, 2003 at 09:32:51PM -0700, wrstuden-DZEk9q7Sfju/3pe1ocb+swC/[email protected] wrote:
> 
> int fsync2(int fd, off_t start, size_t run);

I'm not sure how useful this is, but perhaps:

	int foo(int fd, off_t offset, size_t run, int whence);
(where whence/offset is the same usage as lseek(2).

by that extension, perhaps this new function could be called lsync().  
(not that I have any idea when the L stands for)

-Jon

---------------------------------------------------------------------
The BSD APIs Discussion Mailing List
To unsubscribe:
send "unsubscribe bsd-api-discuss" to majordomo-of7zbby7T3pWk0Htik3J/[email protected]