Nios® V Processor Software Developer Handbook

ID 743810
Date 4/01/2024
Public
Document Table of Contents

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