⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sem.cc

📁 cygwin, 著名的在win32下模拟unix操作系统的东东
💻 CC
字号:
/* 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 theCygwin license.  Please consult the file "CYGWIN_LICENSE" fordetails. */#include "winsup.h"#include <sys/types.h>#include <cygwin/sem.h>#include <errno.h>#include "cygerrno.h"extern "C" intsemctl (int semid, int semnum, int cmd, ...){  set_errno (ENOSYS);  return -1;}extern "C" intsemget (key_t key, int nsems, int semflg){  set_errno (ENOSYS);  return -1;}extern "C" intsemop (int semid, struct sembuf *sops, size_t nsops){  set_errno (ENOSYS);  return -1;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -