libzypp  17.25.3
IOTools.cc File Reference
#include <errno.h>
#include <fcntl.h>
#include <iostream>
#include <glib.h>
#include <zypp/AutoDispose.h>
#include <zypp/base/IOTools.h>
#include <zypp/base/LogTools.h>
Include dependency graph for IOTools.cc:

Go to the source code of this file.

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
 zypp::io
 

Functions

BlockingMode zypp::io::setFILEBlocking (FILE *file, bool mode=true)
 Enables or disabled non blocking mode on a file descriptor. More...
 
std::pair< ReceiveUpToResult, std::string > zypp::io::receiveUpto (FILE *file, char c, timeout_type timeout, bool failOnUnblockError)