Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

windows: move child stdio buffer ops to a separate file

  • Loading branch information...
piscisaureus committed Jun 13, 2012
1 parent 9f44b0e commit 07c6ac2b553bfd7420fa62ecc1733c2ae28cfb0d
Showing with 448 additions and 404 deletions.
  1. +1 −1 include/uv-private/uv-win.h
  2. +11 −0 src/win/internal.h
  3. +425 −0 src/win/process-stdio.c
  4. +10 −403 src/win/process.c
  5. +1 −0 uv.gyp
@@ -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; \
@@ -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
*/

0 comments on commit 07c6ac2

Please sign in to comment.
You can’t perform that action at this time.