source: rtems/testsuites/psxtests/psxhdrs/sys/mman/msync.c @ e7eeb38d

5
Last change on this file since e7eeb38d was e7eeb38d, checked in by Gedare Bloom <gedare@…>, on 07/29/16 at 19:28:49

posix: move sys/mman.h to newlib and test it in psxhdrs

  • Property mode set to 100644
File size: 533 bytes
Line 
1/*
2 *  Copyright (c) 2016 Gedare Bloom.
3 *
4 *  The license and distribution terms for this file may be
5 *  found in the file LICENSE in this distribution or at
6 *  http://www.rtems.org/license/LICENSE.
7 */
8
9/*  This test file is used to verify that the header files associated with
10 *  invoking this function are correct.
11 */
12
13
14#ifdef HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <sys/mman.h>
19
20int test( void );
21
22int test( void )
23{
24  void *addr = NULL;
25  size_t len = 0;
26  int flags = 0;
27
28  return msync( addr, len, flags );
29}
Note: See TracBrowser for help on using the repository browser.