Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

14.1.63. execve()

Prototype

int execve(const char *path,

char *const argv[],

char *const envp[])

Commonly Called By

C/C++ programs

Thread-safe

Yes.

Available from ISR

Yes.

Include

<unistd.h>

Description

The execve() function is only provided for compatibility with newlib.

Return

Calls to execve() always fail with the return code –1 and errno set to ENOSYS.