summaryrefslogtreecommitdiffhomepage
path: root/src/fcntl/nt64/posix_fadvise.c
blob: 585f8d633350dc2b3c9f2c0bed4e9fa1fede9a9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**************************************************************************/
/*  mmglue: midipix architecture- and target-specific bits for musl libc  */
/*  Copyright (C) 2013--2023  SysDeer Technologies, LLC                   */
/*  Released under GPLv2 and GPLv3; see COPYING.MMGLUE.                   */
/**************************************************************************/

#include "fcntl.h"
#include "syscall_arch.h"

int posix_fadvise (int fd, off_t base, off_t len, int advice)
{
	/**
	 *  __syscall is needed here due to the odd semantics
	 *  of posix_fadvise(), which for us means calling
	 *  __sys_fadvise() directly.
	**/

	return 0; /* __sys_fadvise (fd, base, len, advice); */
}