10#define WIN32_NO_STATUS
20 f =
_popen(
"cmd.exe /C \"echo Hallo\"",
"r");
21 ok(
f !=
NULL,
"_popen returns NULL!\n");
25 ok(
lstrcmp(
str,
"Hallo\n") == 0,
"fgets: expected \"Hallo\", got %s.\n",
str);
28 ok(
r == 0,
"_pclose: expected 0, got %i.\n",
r);
30 ok(
r == 0,
"_errno: expected 0, got %i,\n",
r);
GLdouble GLdouble GLdouble r
_Check_return_opt_ _CRTIMP int __cdecl _pclose(_Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP char *__cdecl fgets(_Out_writes_z_(_MaxCount) char *_Buf, _In_ int _MaxCount, _Inout_ FILE *_File)
_Check_return_ _CRTIMP FILE *__cdecl _popen(_In_z_ const char *_Command, _In_z_ const char *_Mode)
_CRTIMP int *__cdecl _errno(void)