Add wrapper for system().

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@130
This commit is contained in:
Julian Seward
2002-04-24 13:28:15 +00:00
parent 3f664faf8f
commit 9247bfce1f
3 changed files with 21 additions and 0 deletions

View File

@@ -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);
}
/*--------------------------------------------------*/

View File

@@ -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);
}
/*--------------------------------------------------*/

View File

@@ -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);
}
/*--------------------------------------------------*/