Namespaces | Functions
stdio.cxx File Reference

Standard I/O functions. More...

#include <basis/config.h>
#include <basis/assert.h>
#include <algorithm>
#include <stdlib.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <basis/stdio.h>
+ Include dependency graph for stdio.cxx:

Go to the source code of this file.

Namespaces

 basis
 

Functions

int basis::get_terminal_columns ()
 Get maximum number of columns of terminal window. More...
 
int basis::get_terminal_lines ()
 Get maximum number of lines of terminal window. More...
 
void basis::get_terminal_size (int &lines, int &columns)
 Get size of terminal window. More...
 
std::ostream & basis::print_wrapped (std::ostream &os, const std::string &text, int width, int indent, int offset)
 Print text, wrapped at a fixed maximum number of columns. More...
 

Detailed Description

Standard I/O functions.

Definition in file stdio.cxx.