From fe66ef68d3761266b37e1ceeaddfcc202b280d26 Mon Sep 17 00:00:00 2001 From: HOLZSCHUCH Nicolas Date: Fri, 26 Jan 2018 16:56:46 +0100 Subject: [PATCH] ready for merging --- ios_system/ios_system.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ios_system/ios_system.h b/ios_system/ios_system.h index 04cd7a15..d45611e2 100644 --- a/ios_system/ios_system.h +++ b/ios_system/ios_system.h @@ -17,6 +17,11 @@ FOUNDATION_EXPORT const unsigned char ios_systemVersionString[]; // In this header, you should import all the public headers of your framework using statements like #import +// Thread-local input and output streams +extern __thread FILE* thread_stdin; +extern __thread FILE* thread_stdout; +extern __thread FILE* thread_stderr; + int ios_executable(const char* inputCmd); // does this command exist? (executable file or builtin command) int ios_system(const char* inputCmd); // execute this command (executable file or builtin command) extern FILE *ios_popen(const char *command, const char *type); // Execute this command and pipe the result