FBB::Redirector

libbobcat-dev_3.23.01-x.tar.gz

2005-2014


FBB::Redirector(3bobcat)

FBB::Redirector(3bobcat)

libbobcat-dev_3.23.01-x.tar.gz System Level File Redirection

2005-2014

NAME

FBB::Redirector - Redirects a file descriptor to another descriptor

SYNOPSIS

#include <bobcat/redirector>
Linking option: -lbobcat

DESCRIPTION

Objects of the class FBB::Redirector set up a system level file redirection, using file descriptors rather than streams. Redirector objects are effectively wrappers around the dup2(2) system call. System level redirection allows the programmer to send output to, e.g., the standard output stream, which actually appears at another stream (e.g., the standard error).

Redirector objects are used to redirect the output sent to a stream havingdup2(2)ootpears aingdup2 objects a