delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/02/28/05:15:05

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BECD9385841A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1677579262;
bh=Hj79geGsL2VXHnSrLOSYxPuy9XL1mo+jTBA1dWq7MOI=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=TWp4qcEKSTXK17EaPv2pSNw59LZ9b3P44u7B1sEA5S3Pzpqf8+hmm20n2DU4DpLnq
N31omD8x5xOopVfmxZUM1z32qcw5RaqofNM1LdtieR/EVWXpFQzQDWaBNuLFD2w0ml
ySLdD/8ivC+/lWcJh8PZAzNZdLU2R9fgfi3pCVfY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2852E3858D33
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=loGhCOeOfj86aG7RtdHHmMqhQbfAk+3oLnupm3Bm3xbS/H9FrcnKZDO7TiCpJkaOpjBrG9A4gysrZO5OdG9ArjPFsvFV+QlNNKG8TFWuHCWZ8bjOenXIXR/8AH17ar9OIj8MxDRJ+1TMZWOem3Do4IiahJxSsXzNI4gyKy54i2agI3ZSdB2uNznab1oUOB/vUnAqqRgSxgDJu08lCc9mytN+ntwIHc9CkUIcgcaI5ClcGV/rZahqw78Fgpod/5DiZTFLcV2yIH1GDQfLC/aGtB29U25U9wwCFD4Le4nUcfgrL5/ocPRlReOunst2YZ+NKPiKliiBpqF58QlynZ9VvQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=hu74+SRb9ry+/jproxRKVDHMI/zRG4wSg8tdJfrXK7A=;
b=bUZxHZxVHobcZlHypxNc/wrN5t3EuzuDiwnZjAoRW807V52caPkmtB2iRpQ8DSt95dWggbPDvF6DtP4XLcaMVLlJoMYMKQwfxktEkX/xlS2cJgGXCT+cBjoKWJTKWSw6TGxxlZHzSg9UfPDWvJvHHH57gsNbz0D/iWKYxuPv77Ka3oGDksK9NGqWBbfcZqHxHCMPmcHWSqeZsT+dfgj4hZDXdRDLck9+dW4djew04gTVT6Mf+VZ5m9Vzu12a4Q1L1MBkWXsEC7E7c0vG1cSR0W7xFF0xJZzoJZWpnHAVJoJ0k39uerR6mkEGey6hMU3FoJr7s7QpDs7o4jDPIIquUg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
Message-ID: <PH0PR05MB991839979E718043F9917BCEA4AC9@PH0PR05MB9918.namprd05.prod.outlook.com>
Date: Tue, 28 Feb 2023 18:13:24 +0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: [ERROR] msgget() "Function not implmented" Error : Cygwin
X-TMN: [khl8Sz+M8YZ3oVHHxxbaHmfHRuxenAAHWJ2EVjW4Q8E=]
X-ClientProxiedBy: PU1PR04CA0021.apcprd04.prod.outlook.com
(2603:1096:803:29::33) To PH0PR05MB9918.namprd05.prod.outlook.com
(2603:10b6:510:299::5)
X-Microsoft-Original-Message-ID: <4186138f-1d9f-7b1b-8515-3bf4cae21505 AT hotmail DOT com>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PH0PR05MB9918:EE_|BYAPR05MB5941:EE_
X-MS-Office365-Filtering-Correlation-Id: fda55269-5369-417b-778f-08db1974763d
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: H9f+MzPzfwBib7XjqHKSJ4ccMEp/wL+yClGeEC3nprwEX//+2/Uw6iks4RCmHMNYwLRnvbtrLGLtxYwaYVkX+OOvUezwzkSGnUQkmCSVriNOdEdfdvsTFVjmLQx6N9aaZ6z9FJCNuBFTNzmt4YgkaqJYAAyWd5ARdMJka1eaNcK/68+6t8z6+RPKRgveocmcND69Qp/8EyFxR1i151JamFud5J+2arj4NePvkRca5hC5wZNOtfJvqF3HMvWp88IhgyFH+Q5JsUjDyDAIR8opCTcMnBF6iOxlkIrgCnOjhtrX85SUMzpfor4W5OWRZrcQ37eA6G+MvZbeEglSv7qVAHrsKmS6Py11VTb2qCj+HI5ae6JTghEjlVcCnCQgbdYjSYVYGMIRCwNuq6eBWc7uB+Ovvq7/Y45CB64AwiM+wffJGtyo5x0cFkxziDJ6hBZpOEGhp8yQ8fdqAqRN2pwOwMWwa4ZV7y/znTcIV73ajw/KoNshm0aE6NyzlDfFW/VOJGp72Pu6EKJ4NfK2bv5kFELcGuddr8ZNqEAqjiZw4YW0ix53Ww7iY/IMxrUBMCpi1IGhaNWltRTYx6RVD+1UKIrIXq4NjH75stkAf1nDSXs=
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YXB1eExvNS84QXFibFM5SVJ0N2pveHFjM1RqSHJ0RFNITW44c2xHaUs5U2No?=
=?utf-8?B?V3hmMXVGZDFYd1E5VWhkUWZvSlc0ZVcyakx4US9US3B0VzBybWFGRnlFSFJs?=
=?utf-8?B?Umo1SHRkcHhaMEdyTE9vTTcwYWRpS1pJdi95SExzSmJXbDZjUm1udi9ZZkQ2?=
=?utf-8?B?UW5mOGpiZnNiejVGQ0RVTElwOUttOXV3SU5hZFg1YWl2RGR3UjdCVmoyeFVs?=
=?utf-8?B?SGdEcU5lSFBJeFcyNkMzRzlMOXQvazFBek9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tJS04wcG5aZWdUTng3N053N3hHRisxTDNXMmdWd1IxT0xqZWhPWXBy?=
=?utf-8?B?UzJKM3p1UWFiMU9GdDRhWlR5ZmhabnZURUdRaFB5ZTZUSkNBYi9qVnN1V2hV?=
=?utf-8?B?VHhRMHNxZkYzUDNBZDFsTlFKWmNoeXRVc09IVGRIdHRxUzVkRDd1Q0RIKzMx?=
=?utf-8?B?bUV0ZnNLdGtOTlpzODN3M2dVNGVhOU4zQVpKcEljY3p6MEExOWNMbmVWd0hk?=
=?utf-8?B?Yk5OT3lWWU4wNG9oY0F5RlpHU1RaenBVbUpFT3BxYVRYc2o2NWI3V1p6SmRU?=
=?utf-8?B?U1ZKeXk5WmRPRG03aDJtV25OamtMdndYNFZzV2h2WjRtZklZK2NoRzQ5VXgx?=
=?utf-8?B?NllxRlhIcTVYeFpxRkdlS3pPemgrVnV4YjdlUjBTNzQ5TE4xV1NUUFhzajUw?=
=?utf-8?B?dXYrVDBDa3hjRkZ5WE5mRFdRVExTcXFmeHJGK0FSUE8rR3ltQ3V2S1FaM2VN?=
=?utf-8?B?MWt1TytLa05VV2dFdWYxcmVkY1hacUxrNHc3ZkdOei9EaDdWWHhaNkRKM21X?=
=?utf-8?B?VERTMllJd1lQcU9iRmJMeWpYckg1TWFDa2haVytUUW1qQlczSFc2aEdBPT0=?=
X-OriginatorOrg: sct-15-20-4823-7-msonline-outlook-84f76.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: fda55269-5369-417b-778f-08db1974763d
X-MS-Exchange-CrossTenant-AuthSource: PH0PR05MB9918.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 10:13:39.8853 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB5941
X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_MUA_MOZILLA, FREEMAIL_FROM,
RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Yeo Kai Wei via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Yeo Kai Wei <yeokaiwei AT hotmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

--------------VeCHkTsdW4G07ZDQNT3a0Rmy
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Cygwin,

May I ask if there will be an implementation of msgget() on Cygwin for 
Windows?

$ gcc -o sender sender.c

$ ./sender
key is 62720123
qid is -1
couldn't get queue id: Function not implemented

I googled the above error and it seems like this issue was raised in 2017.

It was meant to be fixed but I seem to have the same problem.

May I ask what I should do?

I've attached the files that I used.

Thank you.


Kind Regards,

YEO Kai Wei

--------------VeCHkTsdW4G07ZDQNT3a0Rmy
Content-Type: text/plain; charset=UTF-8; name="sender.c"
Content-Disposition: attachment; filename="sender.c"
Content-Transfer-Encoding: base64

I2luY2x1ZGUgPHN0ZGlvLmg+DQoNCiNpbmNsdWRlIDxzeXMvaXBjLmg+IC8vZnR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1ZXVlLmgNCgkJcXVldWVkTWVzc2Fn
ZSBtc2c7DQoNCgkJbXNnLnR5cGUgPSB0eXBlc1tpXTsNCg0KCQlzdHJjcHkobXNnLnBheWxvYWQs
IHBheWxvYWRzW2ldKTsNCg0KCQltc2dzbmQocWlkLCZtc2csTUVTU0FHRUxFTkdUSCArIDEsIElQ
Q19OT1dBSVQpOw0KDQoJCXByaW50ZigiJXMgc2VudCBhcyB0eXBlICVpXG4iLCBtc2cucGF5bG9h
ZCwgKGludCkgbXNnLnR5cGUpOw0KCX0NCg0KCXJldHVybiAwOw0KfQ0KDQo=

--------------VeCHkTsdW4G07ZDQNT3a0Rmy
Content-Type: text/plain; charset=UTF-8; name="queue.h"
Content-Disposition: attachment; filename="queue.h"
Content-Transfer-Encoding: base64

I2RlZmluZSBQUk9KRUNUSUQgMTIzDQoNCiNkZWZpbmUgUEFUSE5BTUUgInF1ZXVlLmgiDQoNCiNk
ZWZpbmUgTUVTU0FHRUxFTkdUSCA0DQoNCiNkZWZpbmUgTUVTU0FHRUNPVU5UIDYNCg0KDQp0eXBl
ZGVmIHN0cnVjdCANCnsNCglsb25nIHR5cGU7CS8vbWVzc2FnZSB0eXBlDQoNCgljaGFyIHBheWxv
YWRbTUVTU0FHRUxFTkdUSCArIDFdOyAvL21lc3NhZ2UuIFNvbWUgdGV4dC4NCg0KfSBxdWV1ZWRN
ZXNzYWdlOw0KDQoNCg==

--------------VeCHkTsdW4G07ZDQNT3a0Rmy
Content-Type: text/plain; charset=UTF-8; name="receiver.c"
Content-Disposition: attachment; filename="receiver.c"
Content-Transfer-Encoding: base64

I2luY2x1ZGUgPHN0ZGlvLmg+DQoNCiNpbmNsdWRlIDxzeXMvaXBjLmg+IC8vZnRvaygpIGNvbnZl
cnQgcGF0aG5hbWUgKyBQcm9qZWNJRCB0byBTeXN0ZW0gViBJUEMga2V5DQoNCiNpbmNsdWRlIDxz
eXMvbXNnLmg+DQoNCiNpbmNsdWRlIDxzdGRsaWIuaD4NCg0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W50KSBtc2cudHlwZSk7DQoJfQkNCg0KCS8vUmVtb3ZlIHRoZSBx
DQoJaWYobXNnY3RsKHFpZCwgSVBDX1JNSUQsIE5VTEwpIDwgMCkNCgkJcmVwb3J0X2FuZF9leGl0
KCJ0cm91YmxlIHJlbW92aW5nIHF1ZXVlLi4uIik7DQoNCglyZXR1cm4gMDsNCn0NCg0K

--------------VeCHkTsdW4G07ZDQNT3a0Rmy
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

--------------VeCHkTsdW4G07ZDQNT3a0Rmy--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019