bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc: Mention the servent module.


From: Collin Funk
Subject: doc: Mention the servent module.
Date: Sat, 28 Dec 2024 16:26:59 -0800
User-agent: Gnus/5.13 (Gnus v5.13)

Hi,

I've applied the attached patch to mention the servent module in the
documentation for the functions getservbyname and getservbyport. These
functions exist on Windows in winsock2.h [1][2].

Also, since servent depends on sys_socket-h which will include
winsock2.h on Windows I am 99% sure the declarations will be included
correctly. I'll write a test for that soon though just to be sure.

Windows doesn't have endservent, getservent, and setservent though so I
won't mention it there.

Collin

[1] 
https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-getservbyname
[2] 
https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-getservbyport

Attachment: 0001-doc-Mention-the-servent-module.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]