|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
#include <debug/redir.h> void redir_cmdline_delete (cmdline_t *cmd);
For the rationale and general description of the debugger redirection issue, see redir_debug_init.
This function serves as a destructor for a
cmdline_t object. It
frees storage used for the command-line arguments associated with
cmd, closes any open handles stored in it, and frees memory used
to store the file handles and the file names of the files where standard
handles were redirected.
The function is safe to use even if cmd might be a
pointer, or if some of members of the
cmdline_t structure are
NULL pointers. See section redir_debug_init, for detailed description
|webmaster donations bookstore||delorie software privacy|
|Copyright © 2004 by DJ Delorie||Updated Apr 2004|