source: rtems/cpukit/posix/src/shmopen.c @ 1ca8ee13

5
Last change on this file since 1ca8ee13 was 1ca8ee13, checked in by Gedare Bloom <gedare@…>, on 08/12/16 at 15:17:40

posix: add stub implementations for mman functions

  • Property mode set to 100644
File size: 493 bytes
Line 
1/**
2 * @file
3 */
4
5/*
6 * Copyright (c) 2016 Gedare Bloom.
7 *
8 * The license and distribution terms for this file may be
9 * found in the file LICENSE in this distribution or at
10 * http://www.rtems.org/license/LICENSE.
11 */
12
13#if HAVE_CONFIG_H
14#include "config.h"
15#endif
16
17#include <sys/mman.h>
18#include <errno.h>
19#include <rtems/seterr.h>
20
21int shm_open( const char *name, int oflag, mode_t mode )
22{
23  (void) name;
24  (void) oflag;
25  (void) mode;
26
27  rtems_set_errno_and_return_minus_one( EINVAL );
28}
Note: See TracBrowser for help on using the repository browser.