// $Id$
//
-// Copyright (C) 2006
+// Copyright (C) 2006
// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
// Stefan Bund <stefan.bund@fokus.fraunhofer.de>
// Free Software Foundation, Inc.,
// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-// Definition of non-inline non-template functions
+/** \file
+ \brief FileHandle non-inline non-template implementation
+ */
#include "FileHandle.hh"
//#include "FileHandle.ih"
#include <string.h>
#include <errno.h>
#include <fcntl.h>
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
#define prefix_
///////////////////////////////cc.p////////////////////////////////////////
if (::fcntl(fd(), F_SETFL, flags) < 0) throw SystemException(errno);
}
+/* We don't take POLLIN/POLLOUT as argument to avoid having to include
+ sys/poll.h in the .cci file (and therefore indirectly into the .hh
+ and then every file which uses FileHandle) */
prefix_ bool senf::FileBody::pollCheck(int fd, bool incoming, bool block)
const
{
\f
// Local Variables:
// mode: c++
+// fill-column: 100
// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
// End: