2 Copyright © 2008-2012, The AROS Development Team. All rights reserved.
5 POSIX.1-2008 function execve().
9 #include <aros/debug.h>
15 /*****************************************************************************
28 Executes a file with given name.
31 filename - Name of the file to execute.
32 argv - Array of arguments provided to main() function of the executed
34 envp - Array of environment variables passed as environment to the
38 Returns -1 and sets errno appropriately in case of error, otherwise
51 ******************************************************************************/
53 APTR id
= __exec_prepare(filename
, 0, argv
, envp
);
59 assert(0); /* Should not be reached */