/** * \file unlink.cpp * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS. */ #include #include "support/lyxlib.h" #include "support/FileName.h" #ifdef HAVE_UNISTD_H # include #endif namespace lyx { namespace support { int unlink(FileName const & pathname) { return ::unlink(pathname.toFilesystemEncoding().c_str()); } } // namespace support } // namespace lyx