Nios® II Software Developer Handbook

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

15.1.71. link()

Prototype

int link(const char *_path1, 
 const char *_path2)

Commonly Called By

newlib C library

Thread-safe

Yes.

Available from ISR

Yes.

Include

<unistd.h>

Description

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

Return

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