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:
16
test_programs/execvp_test.c
Normal file
16
test_programs/execvp_test.c
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user