diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-10-20 10:39:27 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-10-20 10:39:27 +0200 |
commit | 60ee85bf172c43a4104203b6dfacb3353e606e48 (patch) | |
tree | aaf52d69f89f4473cd47b0bb88283acfe7254242 /thread.h | |
parent | 312764a7ab5dd1add651a1edf186ed5b517f68f2 (diff) | |
download | vdr-60ee85bf172c43a4104203b6dfacb3353e606e48.tar.gz vdr-60ee85bf172c43a4104203b6dfacb3353e606e48.tar.bz2 |
Closing all open file descriptors when calling external programs
Diffstat (limited to 'thread.h')
-rw-r--r-- | thread.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: thread.h 1.9 2001/09/15 12:46:52 kls Exp $ + * $Id: thread.h 1.10 2001/10/20 10:25:19 kls Exp $ */ #ifndef __THREAD_H @@ -104,4 +104,9 @@ public: int Close(void); }; +// SystemExec() implements a 'system()' call that closes all unnecessary file +// descriptors in the child process. + +int SystemExec(const char *Command); + #endif //__THREAD_H |