ucommon  7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

stream.cpp File Reference
#include <ucommon-config.h>
#include <ucommon/export.h>
#include <ucommon/thread.h>
#include <ucommon/socket.h>
#include <ucommon/string.h>
#include <ucommon/shell.h>
#include <ucommon/stream.h>
#include <stdarg.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <sys/wait.h>
Include dependency graph for stream.cpp:

Go to the source code of this file.


class  ucommon::NullBuffer




#define EOF   std::streambuf::traits_type::eof()
#define IS_EOF(x)   std::streambuf::traits_type::eq_int_type(x, EOF)
#define GET(x)   std::streambuf::traits_type::to_int_type(x)
#define PUT(x)   std::streambuf::traits_type::to_char_type(x)
#define MSG_WAITALL   0


bool ucommon::getline (std::istream &in, char *buffer, size_t size)
bool ucommon::putline (std::ostream &out, char *buffer)


iostream & std::null = nullstream

Macro Definition Documentation


#define EOF   std::streambuf::traits_type::eof()

Definition at line 51 of file stream.cpp.


#define GET (   x)    std::streambuf::traits_type::to_int_type(x)

Definition at line 53 of file stream.cpp.


#define IS_EOF (   x)    std::streambuf::traits_type::eq_int_type(x, EOF)

Definition at line 52 of file stream.cpp.


#define MSG_WAITALL   0

Definition at line 172 of file stream.cpp.


#define PUT (   x)    std::streambuf::traits_type::to_char_type(x)

Definition at line 54 of file stream.cpp.

Variable Documentation

◆ null

__EXPORT iostream & std::null = nullstream

Definition at line 1031 of file stream.cpp.