commit | 369b170aa23e5189b0b61b34a459a8e46b9c1aef | [log] [tgz] |
---|---|---|
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Wed Apr 24 13:28:15 2002 +0000 |
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Wed Apr 24 13:28:15 2002 +0000 |
tree | a207e9b4876469f10d51bf166d3c13f90a9e5206 | |
parent | 3059442f143f00f351c6cbc7f0119af65a6f652b [diff] [blame] |
Add wrapper for system(). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@130 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/vg_libpthread.c b/vg_libpthread.c index 8d88efc..2ee0140 100644 --- a/vg_libpthread.c +++ b/vg_libpthread.c
@@ -733,6 +733,13 @@ 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); +} + /*--------------------------------------------------*/