delorie.com/djgpp/doc/libc/libc_650.html | search |
[ < ] | [ > ] | [ << ] | [ 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 NULL
pointer, or if some of members of the cmdline_t
structure are
NULL
pointers. See section redir_debug_init, for detailed description
of the cmdline_t
structure.
ANSI/ISO C | No |
POSIX | No |
redir_cmdline_delete (&child_cmd); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |