diff options
Diffstat (limited to 'include/asterisk/app.h')
-rwxr-xr-x | include/asterisk/app.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h index ef7b05c27..d32575be9 100755 --- a/include/asterisk/app.h +++ b/include/asterisk/app.h @@ -45,6 +45,9 @@ extern int ast_app_has_voicemail(const char *mailbox); //! Determine number of new/old messages in a mailbox extern int ast_app_messagecount(const char *mailbox, int *newmsgs, int *oldmsgs); +//! Safely spawn an external program while closingn file descriptors +extern int ast_safe_system(const char *s); + #if defined(__cplusplus) || defined(c_plusplus) } #endif |