Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

14.1.69. unlink()

Prototype

int unlink(char *name)

Commonly Called By

newlib C library

Thread-safe

Yes.

Available from ISR

Yes.

Include

<unistd.h>

Description

The unlink() function is only provided for compatibility with newlib.

Return

Calls to unlink() always fails with the return code –1 and errno set to ENOSYS.