msg.cc

来自「cygwin, 著名的在win32下模拟unix操作系统的东东」· CC 代码 · 共 49 行

CC
49
字号
/* 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 theCygwin license.  Please consult the file "CYGWIN_LICENSE" fordetails. */#include "winsup.h"#include <sys/types.h>#include <cygwin/msg.h>#include <errno.h>#include "cygerrno.h"extern "C" intmsgctl (int msqid, int cmd, struct msqid_ds *buf){  set_errno (ENOSYS);  return -1;}extern "C" intmsgget (key_t key, int msgflg){  set_errno (ENOSYS);  return -1;}extern "C" ssize_tmsgrcv (int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg){  set_errno (ENOSYS);  return -1;}extern "C" intmsgsnd (int msqid, const void *msgp, size_t msgsz, int msgflg){  set_errno (ENOSYS);  return -1;}

⌨️ 快捷键说明

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