MCPcopy Create free account
hub / github.com/apache/nuttx / exec

Function exec

binfmt/binfmt_exec.c:266–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264 ****************************************************************************/
265
266int exec(FAR const char *filename, FAR char * const *argv,
267 FAR char * const *envp, FAR const struct symtab_s *exports,
268 int nexports)
269{
270 int ret;
271
272 ret = exec_internal(filename, argv, envp,
273 exports, nexports, NULL, NULL, false);
274 if (ret < 0)
275 {
276 set_errno(-ret);
277 ret = ERROR;
278 }
279
280 return ret;
281}
282
283#endif /* !CONFIG_BINFMT_DISABLE */

Callers 1

execveFunction · 0.85

Calls 1

exec_internalFunction · 0.85

Tested by

no test coverage detected