Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

15.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.