repo.or.cz
/
gromacs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'origin/release-2020' into merge-2020-into-2021
[gromacs.git]
/
cmake
/
TestPipes.cpp
blob
b48e6215ca69207b5c1f5ff9281f91d73a074391
1
#ifdef __CYGWIN__
2
/* Pipes need POSIX things, not just std ones */
3
#define _POSIX_C_SOURCE 200809L
4
#endif
5
#include <stdio.h>
6
7
int
8
main
()
9
{
10
FILE
*
fp
;
11
12
fp
=
popen
(
"/tmp/xyz"
,
"r"
);
13
return
(
fp
==
NULL
);
14
}