LibC: Add posix_fadvise as no-op
This commit is contained in:
parent
dc51ce9e92
commit
0cfda6f6a7
|
|
@ -45,3 +45,12 @@ int fcntl(int fildes, int cmd, ...)
|
|||
|
||||
return syscall(SYS_FCNTL, fildes, cmd, extra);
|
||||
}
|
||||
|
||||
int posix_fadvise(int fd, off_t offset, off_t len, int advice)
|
||||
{
|
||||
(void)fd;
|
||||
(void)offset;
|
||||
(void)len;
|
||||
(void)advice;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue