#include <assert.h>
#include <io.h>
#include <stdio.h>
#include <stdlib.h>
#include "uv.h"
#include "internal.h"
#include "handle-inl.h"
Go to the source code of this file.
Macros | |
#define | CHILD_STDIO_COUNT(buffer) *((unsigned int*) (buffer)) |
#define | CHILD_STDIO_CRT_FLAGS(buffer, fd) *((unsigned char*) (buffer) + sizeof(int) + fd) |
#define | CHILD_STDIO_HANDLE(buffer, fd) |
#define | CHILD_STDIO_SIZE(count) |
#define | FAPPEND 0x20 |
#define | FCRLF 0x04 |
#define | FDEV 0x40 |
#define | FEOFLAG 0x02 |
#define | FNOINHERIT 0x10 |
#define | FOPEN 0x01 |
#define | FPIPE 0x08 |
#define | FTEXT 0x80 |
Functions | |
int | uv__create_nul_handle (HANDLE *handle_ptr, DWORD access) |
static int | uv__create_stdio_pipe_pair (uv_loop_t *loop, uv_pipe_t *server_pipe, HANDLE *child_pipe_ptr, unsigned int flags) |
static int | uv__duplicate_fd (uv_loop_t *loop, int fd, HANDLE *dup) |
static int | uv__duplicate_handle (uv_loop_t *loop, HANDLE handle, HANDLE *dup) |
int | uv__stdio_create (uv_loop_t *loop, const uv_process_options_t *options, BYTE **buffer_ptr) |
void | uv__stdio_destroy (BYTE *buffer) |
HANDLE | uv__stdio_handle (BYTE *buffer, int fd) |
void | uv__stdio_noinherit (BYTE *buffer) |
WORD | uv__stdio_size (BYTE *buffer) |
int | uv__stdio_verify (BYTE *buffer, WORD size) |
void | uv_disable_stdio_inheritance (void) |
Definition at line 43 of file process-stdio.c.
Definition at line 46 of file process-stdio.c.
#define CHILD_STDIO_HANDLE | ( | buffer, | |
fd | |||
) |
Definition at line 49 of file process-stdio.c.
#define CHILD_STDIO_SIZE | ( | count | ) |
#define FAPPEND 0x20 |
Definition at line 63 of file process-stdio.c.
#define FCRLF 0x04 |
Definition at line 60 of file process-stdio.c.
#define FDEV 0x40 |
Definition at line 64 of file process-stdio.c.
#define FEOFLAG 0x02 |
Definition at line 59 of file process-stdio.c.
#define FNOINHERIT 0x10 |
Definition at line 62 of file process-stdio.c.
#define FOPEN 0x01 |
Definition at line 58 of file process-stdio.c.
#define FPIPE 0x08 |
Definition at line 61 of file process-stdio.c.
#define FTEXT 0x80 |
Definition at line 65 of file process-stdio.c.
int uv__create_nul_handle | ( | HANDLE * | handle_ptr, |
DWORD | access | ||
) |
Definition at line 240 of file process-stdio.c.
|
static |
Definition at line 98 of file process-stdio.c.
Definition at line 227 of file process-stdio.c.
Definition at line 194 of file process-stdio.c.
int uv__stdio_create | ( | uv_loop_t * | loop, |
const uv_process_options_t * | options, | ||
BYTE ** | buffer_ptr | ||
) |
Definition at line 265 of file process-stdio.c.
void uv__stdio_destroy | ( | BYTE * | buffer | ) |
Definition at line 453 of file process-stdio.c.
HANDLE uv__stdio_handle | ( | BYTE * | buffer, |
int | fd | ||
) |
Definition at line 510 of file process-stdio.c.
void uv__stdio_noinherit | ( | BYTE * | buffer | ) |
Definition at line 468 of file process-stdio.c.
WORD uv__stdio_size | ( | BYTE * | buffer | ) |
Definition at line 505 of file process-stdio.c.
int uv__stdio_verify | ( | BYTE * | buffer, |
WORD | size | ||
) |
Definition at line 481 of file process-stdio.c.
void uv_disable_stdio_inheritance | ( | void | ) |
Definition at line 74 of file process-stdio.c.