summaryrefslogblamecommitdiffstats
path: root/cpukit/posix/src/shmopen.c
blob: abac3f4057aba7e3e0395f63ca448a08ce3fc501 (plain) (tree)



























                                                          
/**
 * @file
 */

/*
 * Copyright (c) 2016 Gedare Bloom.
 *
 * The license and distribution terms for this file may be
 * found in the file LICENSE in this distribution or at
 * http://www.rtems.org/license/LICENSE.
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include <sys/mman.h>
#include <errno.h>
#include <rtems/seterr.h>

int shm_open( const char *name, int oflag, mode_t mode )
{
  (void) name;
  (void) oflag;
  (void) mode;

  rtems_set_errno_and_return_minus_one( EINVAL );
}