Nios® V Processor Software Developer Handbook

ID 743810
Date 7/08/2024
Public
Document Table of Contents

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