mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 22:24:53 +00:00
Add wrapper for system().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@130
This commit is contained in:
@@ -733,6 +733,13 @@ int sendto(int s, const void *msg, size_t len, int flags,
|
||||
return __libc_sendto(s, msg, len, flags, to, tolen);
|
||||
}
|
||||
|
||||
extern
|
||||
int __libc_system(const char* str);
|
||||
int system(const char* str)
|
||||
{
|
||||
return __libc_system(str);
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -733,6 +733,13 @@ int sendto(int s, const void *msg, size_t len, int flags,
|
||||
return __libc_sendto(s, msg, len, flags, to, tolen);
|
||||
}
|
||||
|
||||
extern
|
||||
int __libc_system(const char* str);
|
||||
int system(const char* str)
|
||||
{
|
||||
return __libc_system(str);
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -733,6 +733,13 @@ int sendto(int s, const void *msg, size_t len, int flags,
|
||||
return __libc_sendto(s, msg, len, flags, to, tolen);
|
||||
}
|
||||
|
||||
extern
|
||||
int __libc_system(const char* str);
|
||||
int system(const char* str)
|
||||
{
|
||||
return __libc_system(str);
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user