sem.cc
来自「cygwin, 著名的在win32下模拟unix操作系统的东东」· CC 代码 · 共 42 行
CC
42 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?