libzypp  17.28.8
IOTools.cc File Reference
#include <errno.h>
#include <fcntl.h>
#include <iostream>
#include <glib.h>
#include <zypp-core/AutoDispose.h>
#include <zypp-core/base/IOTools.h>
#include <zypp-core/base/LogTools.h>
#include <zypp-core/zyppng/base/private/linuxhelpers_p.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...
 
BlockingMode zypp::io::setFDBlocking (int fd, bool mode)
 
bool zypp::io::writeAll (int fd, void *buf, size_t size)
 
ReadAllResult zypp::io::readAll (int fd, void *buf, size_t size)
 
std::pair< ReceiveUpToResult, std::string > zypp::io::receiveUpto (FILE *file, char c, timeout_type timeout, bool failOnUnblockError)