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

msg.cc « cygwin « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c76fd8ee7029cd9dda3495a7abeb421c66b630db (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
42
43
44
45
46
47
48
/* msg.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/msg.h>

#include <errno.h>

#include "cygerrno.h"

extern "C" int
msgctl (int msqid, int cmd, struct msqid_ds *buf)
{
  set_errno (ENOSYS);
  return -1;
}

extern "C" int
msgget (key_t key, int msgflg)
{
  set_errno (ENOSYS);
  return -1;
}

extern "C" ssize_t
msgrcv (int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg)
{
  set_errno (ENOSYS);
  return -1;
}

extern "C" int
msgsnd (int msqid, const void *msgp, size_t msgsz, int msgflg)
{
  set_errno (ENOSYS);
  return -1;
}