Specifications
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.
Related Information
newlib Library Documentation
lseek()
Prototype
off_t lseek(int fd, off_t ptr, int whence)
Commonly Called By
C/C++ programs
newlib C library
Thread-safe
See description.
Available from ISR
No.
Include
<unistd.h>
Description
The lseek() function moves the read/write pointer associated with the file descriptor fd. lseek() is
wrapper function that passes control directly to the lseek() function registered for the driver associated
with the file descriptor. If the driver does not provide an implementation of lseek(), an error is reported.
lseek() corresponds to the standard UNIX lseek() function.
14-64
lseek()
NII5V2
2015.05.14
Altera Corporation
HAL API Reference
Send Feedback