Windows: Make stdin pipes synchronous
Stdin pipes do not need to be used asynchronously within the standard library.
This commit is contained in:
parent
b89b056742
commit
949b978ec9
3 changed files with 85 additions and 31 deletions
|
@ -1022,6 +1022,12 @@ extern "system" {
|
|||
bWaitAll: BOOL,
|
||||
dwMilliseconds: DWORD,
|
||||
) -> DWORD;
|
||||
pub fn CreatePipe(
|
||||
hReadPipe: *mut HANDLE,
|
||||
hWritePipe: *mut HANDLE,
|
||||
lpPipeAttributes: *const SECURITY_ATTRIBUTES,
|
||||
nSize: DWORD,
|
||||
) -> BOOL;
|
||||
pub fn CreateNamedPipeW(
|
||||
lpName: LPCWSTR,
|
||||
dwOpenMode: DWORD,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue