| 544 | /************************************************************************/ |
| 545 | |
| 546 | static void msIO_Initialize( void ) |
| 547 | |
| 548 | { |
| 549 | if( is_msIO_initialized == MS_TRUE ) |
| 550 | return; |
| 551 | |
| 552 | default_contexts.stdin_context.label = "stdio"; |
| 553 | default_contexts.stdin_context.write_channel = MS_FALSE; |
| 554 | default_contexts.stdin_context.readWriteFunc = msIO_stdioRead; |
| 555 | default_contexts.stdin_context.cbData = (void *) stdin; |
| 556 | |
| 557 | default_contexts.stdout_context.label = "stdio"; |
| 558 | default_contexts.stdout_context.write_channel = MS_TRUE; |
| 559 | default_contexts.stdout_context.readWriteFunc = msIO_stdioWrite; |
| 560 | default_contexts.stdout_context.cbData = (void *) stdout; |
| 561 | |
| 562 | default_contexts.stderr_context.label = "stdio"; |
| 563 | default_contexts.stderr_context.write_channel = MS_TRUE; |
| 564 | default_contexts.stderr_context.readWriteFunc = msIO_stdioWrite; |
| 565 | default_contexts.stderr_context.cbData = (void *) stderr; |
| 566 | |
| 567 | default_contexts.next = NULL; |
| 568 | default_contexts.thread_id = 0; |
| 569 | |
| 570 | is_msIO_initialized = MS_TRUE; |
| 571 | } |
| 572 | |
| 573 | /* ==================================================================== */ |
| 574 | /* ==================================================================== */ |
no outgoing calls
no test coverage detected