Unix to Windows Porting Dictionary for HPC

RSS

Links

Function List

pipe


Unix

header file: unistd.h

int pipe(int fildes[2]);

Windows

header file: io.h

int _pipe(int *pfds, unsigned int psize, int textmode);

Purpose

This function create a pipe between file descriptors.

Discussion

The Windows and Unix implementations of this functionality are similar, but the functions differ in their parameters. For complete details, see the links below.

Example of Use in Windows

For a complete example, please see the MSDN article on the pipe() function.
blog comments powered by Disqus
Valid HTML 4.01 Transitional Valid CSS!