On Jan 11, 2006, at 7:02 PM, Chip Salzenberg wrote:
On Wed, Jan 11, 2006 at 04:16:55PM -0500, Joshua Juran wrote:
Since before System 7 (approaching two decades ago), Mac OS has had a
system call that exchanges the contents of two files. The purpose of
this call is to implement a 'safe save' strategy ...
Is this still a system call in Mac OS X?
Yes, the original FSpExchangeFiles() call persists along with most of
the calls pertaining to FSSpecs. New code written only for Mac OS 9
and above could also use the newer FSRef-based FSExchangeObjects() call
which subsumes it.
Josh