diff options
author | Christopher Faylor <me@cgf.cx> | 2003-08-30 16:34:56 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-08-30 16:34:56 +0000 |
commit | a245bd6e99ae2ca1eee574f6c90224f2187b80a5 (patch) | |
tree | 2d470340a0b279a1275f80a89cbedf4ceb8969cb /winsup/cygserver/sem.cc | |
parent | 9540fc596231185913095e23fa5ddfca14061cb6 (diff) | |
download | cygnal-a245bd6e99ae2ca1eee574f6c90224f2187b80a5.tar.gz cygnal-a245bd6e99ae2ca1eee574f6c90224f2187b80a5.tar.bz2 cygnal-a245bd6e99ae2ca1eee574f6c90224f2187b80a5.zip |
* msg.cc: New file.
* sem.cc: Ditto.
Diffstat (limited to 'winsup/cygserver/sem.cc')
-rw-r--r-- | winsup/cygserver/sem.cc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/winsup/cygserver/sem.cc b/winsup/cygserver/sem.cc new file mode 100644 index 000000000..97d91a354 --- /dev/null +++ b/winsup/cygserver/sem.cc @@ -0,0 +1,40 @@ +/* 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 "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; +} |