Skip to content

Commit

Permalink
Merge pull request #11 from palmin/master
Browse files Browse the repository at this point in the history
expose thread specific file descriptors
  • Loading branch information
holzschu authored Jan 26, 2018
2 parents 2db5143 + ee21ea7 commit 21647e6
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 @@ -15,6 +15,11 @@ FOUNDATION_EXPORT double ios_systemVersionNumber;
//! Project version string for ios_system.
FOUNDATION_EXPORT const unsigned char ios_systemVersionString[];

// Thread-local input and output streams
extern __thread FILE* thread_stdin;
extern __thread FILE* thread_stdout;
extern __thread FILE* thread_stderr;

// In this header, you should import all the public headers of your framework using statements like #import <ios_system/PublicHeader.h>

int ios_executable(const char* inputCmd); // does this command exist? (executable file or builtin command)
Expand Down

0 comments on commit 21647e6

Please sign in to comment.