mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-16 18:03:37 +02:00
add a 'safe_system' function which avoids leaking FDs
Origin commit data
------------------
Commit: 60454a643c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-12-04 (Sun, 04 Dec 2011)
This commit is contained in:
11
src/system/safe_system.h
Normal file
11
src/system/safe_system.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef _SAFE_SYSTEM_H_
|
||||
#define _SAFE_SYSTEM_H_
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
extern int safe_system(const char *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
Reference in New Issue
Block a user