Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F632560
funcs.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
546 B
Referenced Files
None
Subscribers
None
funcs.cpp
View Options
#ifdef WINDOWS
#include
<windows.h>
#include
"util/funcs.h"
#include
<io.h>
#include
<fcntl.h>
/*
int Util::getPipe(int files[2]){
HANDLE read_in, write_in;
int ok = CreatePipe(&read_in, &write_in, NULL, 0);
if (ok == 0){
return -1;
}
// files[0] = _open_osfhandle(read_in, O_RDONLY | O_BINARY);
// files[1] = _open_osfhandle(write_in, O_WRONLY | O_BINARY);
files[0] = _open_osfhandle((intptr_t) read_in, _O_RDONLY);
files[1] = _open_osfhandle((intptr_t) write_in, _O_WRONLY);
return 0;
}
*/
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Nov 15, 2:40 PM (9 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
133118
Default Alt Text
funcs.cpp (546 B)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline