1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Added the "execvp_test" program.

git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15117 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2006-08-02 09:22:38 +00:00
parent 85122893ff
commit cdfe0dad6f
2 changed files with 23 additions and 3 deletions

View File

@ -0,0 +1,16 @@
/*
* $Id: execvp_test.c,v 1.1 2006-08-02 09:22:38 obarthel Exp $
*
* :ts=4
*/
#include <unistd.h>
int
main(int argc,char ** argv)
{
if(argc > 1)
execvp(argv[1],&argv[2]);
return(0);
}