Commit 00e5ccfa authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

Stub out the _[w]popen/_pclose() functions.

parent 9e9e3a9c
......@@ -400,11 +400,11 @@
@ stub _outp #(long long)
@ stub _outpd #(long long)
@ stub _outpw #(long long)
@ stub _pclose #(ptr)
@ cdecl _pclose (ptr)
@ extern _pctype MSVCRT__pctype
@ extern _pgmptr MSVCRT__pgmptr
@ stub _pipe #(ptr long long)
@ stub _popen #(str str)
@ cdecl _popen (str str)
@ cdecl _purecall()
@ cdecl _putch(long)
@ cdecl _putenv(str)
......@@ -534,7 +534,7 @@
@ varargs _wopen(wstr long)
@ stub _wperror #(wstr)
@ extern _wpgmptr MSVCRT__wpgmptr
@ stub _wpopen #(wstr wstr)
@ cdecl _wpopen (wstr wstr)
@ cdecl _wputenv(wstr)
@ cdecl _wremove(wstr)
@ cdecl _wrename(wstr wstr)
......
......@@ -32,6 +32,7 @@
#include "msvcrt.h"
#include "msvcrt/errno.h"
#include "msvcrt/stdio.h"
#include "msvcrt/process.h"
#include "msvcrt/stdlib.h"
#include "msvcrt/string.h"
......@@ -435,6 +436,33 @@ int _spawnvp(int flags, const char* name, const char* const* argv)
}
/*********************************************************************
* _popen (MSVCRT.@)
*/
MSVCRT_FILE* _popen(const char* command, const char* mode)
{
FIXME("(command=%s, mode=%s): stub\n", debugstr_a(command), debugstr_a(mode));
return NULL;
}
/*********************************************************************
* _wpopen (MSVCRT.@)
*/
MSVCRT_FILE* _wpopen(const MSVCRT_wchar_t* command, const MSVCRT_wchar_t* mode)
{
FIXME("(command=%s, mode=%s): stub\n", debugstr_w(command), debugstr_w(mode));
return NULL;
}
/*********************************************************************
* _pclose (MSVCRT.@)
*/
int _pclose(MSVCRT_FILE* file)
{
FIXME("(file=%p): stub\n", file);
return 0;
}
/*********************************************************************
* system (MSVCRT.@)
*/
int MSVCRT_system(const char* cmd)
......
......@@ -429,11 +429,11 @@
@ stub _outp #(long long)
@ stub _outpd #(long long)
@ stub _outpw #(long long)
@ stub _pclose #(ptr)
@ cdecl _pclose(ptr) msvcrt._pclose
@ extern _pctype msvcrt._pctype
@ extern _pgmptr msvcrt._pgmptr
@ stub _pipe #(ptr long long)
@ stub _popen #(str str)
@ cdecl _popen(str str) msvcrt._popen
@ cdecl _purecall() msvcrt._purecall
@ cdecl _putch(long) msvcrt._putch
@ cdecl _putenv(str) msvcrt._putenv
......@@ -564,7 +564,7 @@
@ varargs _wopen(wstr long) msvcrt._wopen
@ stub _wperror #(wstr)
@ stub _wpgmptr # extern
@ stub _wpopen #(wstr wstr)
@ cdecl _wpopen(wstr wstr) msvcrt._wpopen
@ cdecl _wputenv(wstr) msvcrt._wputenv
@ cdecl _wremove(wstr) msvcrt._wremove
@ cdecl _wrename(wstr wstr) msvcrt._wrename
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment