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

This commit is contained in:
Dimitrie O. Paun 2003-08-20 03:34:20 +00:00 committed by Alexandre Julliard
parent 9e9e3a9ce5
commit 00e5ccfa17
3 changed files with 34 additions and 6 deletions

View File

@ -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)

View File

@ -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"
@ -434,6 +435,33 @@ int _spawnvp(int flags, const char* name, const char* const* argv)
return _spawnvpe(flags, name, argv, NULL);
}
/*********************************************************************
* _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.@)
*/

View File

@ -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