Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
windows: move child stdio buffer ops to a separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Jun 13, 2012
1 parent 9f44b0e commit 07c6ac2
Show file tree
Hide file tree
Showing 5 changed files with 448 additions and 404 deletions.
2 changes: 1 addition & 1 deletion include/uv-private/uv-win.h
Expand Up @@ -456,7 +456,7 @@ RB_HEAD(uv_timer_tree_s, uv_timer_s);
struct uv_process_close_s { \
UV_REQ_FIELDS \
} close_req; \
void* child_stdio_buffer; \
BYTE* child_stdio_buffer; \
int exit_signal; \
DWORD spawn_errno; \
HANDLE wait_handle; \
Expand Down
11 changes: 11 additions & 0 deletions src/win/internal.h
Expand Up @@ -279,6 +279,17 @@ void uv_fatal_error(const int errorno, const char* syscall);
uv_err_code uv_translate_sys_error(int sys_errno);


/*
* Process stdio handles.
*/
int uv__stdio_create(uv_loop_t* loop, uv_process_options_t* options,
BYTE** buffer_ptr);
void uv__stdio_destroy(BYTE* buffer);
void uv__stdio_noinherit(BYTE* buffer);
WORD uv__stdio_size(BYTE* buffer);
HANDLE uv__stdio_handle(BYTE* buffer, int fd);


/*
* Winapi and ntapi utility functions
*/
Expand Down

0 comments on commit 07c6ac2

Please sign in to comment.