Skip to content

Commit

Permalink
ready for merging
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Holzschuch committed Jan 26, 2018
1 parent 2db5143 commit fe66ef6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ios_system/ios_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <ios_system/PublicHeader.h>

// 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
Expand Down

0 comments on commit fe66ef6

Please sign in to comment.