BASIS  r3148
stdio.cxx File Reference

Standard I/O functions. More...

#include <basis/config.h>
#include <basis/assert.h>
#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

namespace  basis

Functions

int basis::get_terminal_columns ()
 Get maximum number of columns of terminal window.
int basis::get_terminal_lines ()
 Get maximum number of lines of terminal window.
void basis::get_terminal_size (int &lines, int &columns)
 Get size of terminal window.
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.

Detailed Description

Standard I/O functions.

Copyright (c) 2012 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.

Contact: SBIA Group <sbia-software at uphs.upenn.edu>

Definition in file stdio.cxx.