started system utils module
[libasyncio] / utils / asyncio_system_tools.cpp
1 /**
2  * @file
3  * @brief some functions to wrap some system functions
4  *
5  * @author Reinhard Pfau \<Reinhard.Pfau@gmx.de\>
6  * @copyright &copy; Copyright 2009 by Intra2net AG
7  * @license LGPL
8  * @contact opensource@intra2net.com
9  *
10  */
11
12 #include "asyncio_system_tools.hpp"
13
14 #include <unistd.h>
15
16 namespace AsyncIo
17 {
18 namespace Utils
19 {
20
21   bool unlink( const std::string& path )
22   {
23     return ::unlink( path.c_str() ) == 0;
24   } // end of unlink(const std::string&)
25
26
27 } // end of namespace Utils
28 }// end of namespace AsyncIo