summaryrefslogtreecommitdiffhomepage
path: root/src/fcntl/nt32/posix_fadvise.c
blob: 344d494b7074c2fd2bf5e983f3678a4debba7f0c (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 the Standard MIT License; 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); */
}