From a245bd6e99ae2ca1eee574f6c90224f2187b80a5 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 30 Aug 2003 16:34:56 +0000 Subject: * msg.cc: New file. * sem.cc: Ditto. --- winsup/cygserver/msg.cc | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 winsup/cygserver/msg.cc (limited to 'winsup/cygserver/msg.cc') diff --git a/winsup/cygserver/msg.cc b/winsup/cygserver/msg.cc new file mode 100644 index 000000000..fecaa068a --- /dev/null +++ b/winsup/cygserver/msg.cc @@ -0,0 +1,47 @@ +/* msg.cc: Single unix specification IPC interface for Cygwin. + + Copyright 2002 Red Hat, Inc. + + Written by Conrad Scott . + +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 +#include + + +#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; +} -- cgit v1.2.3