Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>swap_pipeon</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
swap_pipeon

Usage

   #include <swap.h>

   void swap_pipeoff(void);
   void swap_pipeon(void);

Description

   These functions turn the Swap "pipe output to file" facility on or off.
   When on, all output from the program that goes through stdout or stderr
   will be piped to the pipe file. The pipe file must have been previously
   specified with a call to swap_pipe(), in which case it is only required
   if a call has been made to swap_pipeoff() in the interim.

   These function calls can be nested. If two calls are made to the off
   function, two calls will also be needed to the on function in order to
   reactivate the pipe.

See Also

   spawn, system



See Also: spawn system

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson