libzypp: zypp/base/IOTools.h File Reference

libzypp 17.25.10

Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
IOTools.h File Reference
`#include <stdio.h>`
`#include <utility>`
`#include <string>`
`#include <zypp/base/Exception.h>`
Include dependency graph for IOTools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | zypp::io::TimeoutException

## Namespaces
namespace | zypp
| Easy-to use interface to the ZYPP dependency resolver.
namespace | zypp::io

## Typedefs
using | zypp::io::timeout_type = size_t

## Enumerations
enum class | zypp::io::BlockingMode { zypp::io::FailedToSetMode = -1 , zypp::io::WasBlocking , zypp::io::WasNonBlocking }
enum | zypp::io::ReceiveUpToResult { zypp::io::Success , zypp::io::Timeout , zypp::io::EndOfFile , zypp::io::Error }

## 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)

## Variables
static const timeout_type | zypp::io::no_timeout = static_cast<timeout_type>(-1)