Safewrite is a library for performing atomic creation and replacement of files (in particular - configuration files). It is portable, easy to use, provides an interface that is very similar to the standard POSIX interface, and can be used almost as a drop in replacement for the usual "open" and "close" calls.

Version 1.03 can be downloaded here.

The version control is available at github.

Maintainer: Shachar Shemesh