public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Yeo Kai Wei <yeokaiwei@hotmail.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: [ERROR] msgget() "Function not implemented" Error : Cygwin
Date: Mon, 6 Mar 2023 00:35:27 +0800	[thread overview]
Message-ID: <PH0PR05MB9918FC2841E06C7AC9158863A4B19@PH0PR05MB9918.namprd05.prod.outlook.com> (raw)
In-Reply-To: <Y/3XcBIH3zo7knRZ@calimero.vinschen.de>

[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]

How To Deal With the msgget() Issue and "Function not implemented" and 
Cygwin Server

1. Download the "*cygrunsrv*" binaries using "setup-x86_64.exe". Search 
for it at the DLL page. Download 1.64-1. Now you have Cygwin Server. 
This is usually not mentioned.

2. Run Cygwin as administrator. This is usually not mentioned.

3. Start the Cygwin server with "*net start cygserver*". It should say 
"The CYGWIN cygserver service is starting.
The CYGWIN cygserver service was started successfully.". You have to 
google this. It is not on the instruction page for some reason.

4. Run the program. It should work now.


On 28/2/2023 6:29 pm, Corinna Vinschen wrote:
> On Feb 28 18:13, Yeo Kai Wei via Cygwin wrote:
>> Hi Cygwin,
>>
>> May I ask if there will be an implementation of msgget() on Cygwin for
>> Windows?
> There is, for ages.  However, you have to run cygserver for that
> to work:
>
>    https://cygwin.com/cygwin-ug-net/using-cygserver.html
>
> If cygserver isn't running, the XSI IPC functions return ENOSYS.
>
> Alternatively, convert your tool to using POSIX message queues, those
> are using a file backed solution and don't require cygserver.
>
>
> Corinna

      parent reply	other threads:[~2023-03-05 16:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-28 10:13 [ERROR] msgget() "Function not implmented" " Yeo Kai Wei
2023-02-28 10:29 ` Corinna Vinschen
2023-03-01 11:56   ` Yeo Kai Wei
2023-03-01 18:36     ` Ken Brown
2023-03-05 16:35   ` Yeo Kai Wei [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PH0PR05MB9918FC2841E06C7AC9158863A4B19@PH0PR05MB9918.namprd05.prod.outlook.com \
    --to=yeokaiwei@hotmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).