Update instructions in containers.rst
[gromacs.git] / cmake / TestPipes.cpp
blobb48e6215ca69207b5c1f5ff9281f91d73a074391
1 #ifdef __CYGWIN__
2 /* Pipes need POSIX things, not just std ones */
3 #define _POSIX_C_SOURCE 200809L
4 #endif
5 #include <stdio.h>
7 int
8 main()
10 FILE *fp;
12 fp = popen("/tmp/xyz","r");
13 return (fp==NULL);