Nios® V Processor Software Developer Handbook

ID 743810
Date 2/14/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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

_rename() is unsupported in the HAL environment. This function has no effect and is implemented purely for newlib compatibility.

Return

It always returns -1, with errno set to ENOSYS.