summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-10-20 10:39:27 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-10-20 10:39:27 +0200
commit60ee85bf172c43a4104203b6dfacb3353e606e48 (patch)
treeaaf52d69f89f4473cd47b0bb88283acfe7254242 /thread.h
parent312764a7ab5dd1add651a1edf186ed5b517f68f2 (diff)
downloadvdr-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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/thread.h b/thread.h
index 221f9ac7..89dcdf85 100644
--- a/thread.h
+++ b/thread.h
@@ -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