Nios® II Software Developer Handbook

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

15.1.2. _rename()

Prototype

int _rename(char *existing, char* new)

Commonly Called By

newlib C library

Thread-safe

Yes.

Available from ISR

Yes.

Include

<stdio.h>

Description

The _rename() function is provided for newlib compatibility.

Return

It always fails with return code –1, and with errno set to ENOSYS.