diff options
author | elfyn <elfyn> | 2003-08-30 16:18:39 +0000 |
---|---|---|
committer | elfyn <elfyn> | 2003-08-30 16:18:39 +0000 |
commit | 75c8bc1d8397c8df49e0b9ac2a4e77fbd8be0bd5 (patch) | |
tree | 083e44dd910642bee4edffd2270c49c8f05385eb /winsup/cygserver/msg.cc | |
parent | 69a7b5f79888513741e65a54216d7756474b76c2 (diff) | |
download | gdb-cvs/Z-emcb-cygwin_daemon.tar.gz |
* msg.cc: Move from cygwin directory.cvs/Z-emcb-cygwin_daemonZ-emcb-cygwin_daemon
* sem.cc: Ditto.
* threaded_queue.cc: Ditto.
Diffstat (limited to 'winsup/cygserver/msg.cc')
-rw-r--r-- | winsup/cygserver/msg.cc | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/winsup/cygserver/msg.cc b/winsup/cygserver/msg.cc new file mode 100644 index 00000000000..fecaa068a62 --- /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 <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 "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; +} |