Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sem.cc « cygwin « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 63aba8e80b3e6546d0db1a401bc8129143b50574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* sem.cc: Single unix specification IPC interface for Cygwin.

   Copyright 2002 Red Hat, Inc.

   Written by Conrad Scott <conrad.scott@dsl.pipex.com>.

This file is part of Cygwin.

This software is a copyrighted work licensed under the terms of the
Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
details. */

#include "winsup.h"

#include <sys/types.h>
#include <cygwin/sem.h>

#include <errno.h>

#include "cygerrno.h"

extern "C" int
semctl (int semid, int semnum, int cmd, ...)
{
  set_errno (ENOSYS);
  return -1;
}

extern "C" int
semget (key_t key, int nsems, int semflg)
{
  set_errno (ENOSYS);
  return -1;
}

extern "C" int
semop (int semid, struct sembuf *sops, size_t nsops)
{
  set_errno (ENOSYS);
  return -1;
}