[ERROR] msgget() "Function not implemented" Error : Cygwin

Yeo Kai Wei yeokaiwei@hotmail.com
Sun Mar 5 16:35:27 GMT 2023


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


More information about the Cygwin mailing list