update for HEAD-2003091401
[reactos.git] / lib / crtdll / stdio / popen.c
index c24c378..40cf63d 100644 (file)
@@ -8,11 +8,14 @@
 #include <msvcrt/internal/file.h>
 
 
+/*
+ * @unimplemented
+ */
 FILE *_popen (const char *cm, const char *md) /* program name, pipe mode */
 {
   FILE *pf;
   HANDLE hReadPipe, hWritePipe;
-  STARTUPINFO StartupInfo;
+  STARTUPINFOA StartupInfo;
   PROCESS_INFORMATION ProcessInformation;
 
   // fixme CreatePipe
@@ -20,7 +23,7 @@ FILE *_popen (const char *cm, const char *md) /* program name, pipe mode */
 //  if ( !CreatePipe(&hReadPipe,&hWritePipe,NULL,1024))
 //             return NULL;    
 
-  StartupInfo.cb = sizeof(STARTUPINFO);
+  StartupInfo.cb = sizeof(StartupInfo);
   if ( md == "r" ) {
        StartupInfo.hStdOutput = hWritePipe;
   }
@@ -50,6 +53,9 @@ FILE *_popen (const char *cm, const char *md) /* program name, pipe mode */
 }
 
 
+/*
+ * @unimplemented
+ */
 int
 _pclose (FILE *pp)
 {