lyx_mirror/src/support/unlink.C

29 lines
466 B
C++
Raw Normal View History

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