Merge pull request #22834 from krkk/hi-this-is-my-first-PR-and-heres-my-breaking-change-haha

std.c: Improve the description of getnameinfo() arguments: optional pointers and specialized `flags` type
This commit is contained in:
Alex Rønne Petersen 2025-02-10 10:44:21 +01:00 committed by GitHub
commit d4c85079c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9770,11 +9770,11 @@ pub extern "c" fn freeaddrinfo(res: *addrinfo) void;
pub extern "c" fn getnameinfo(
noalias addr: *const sockaddr,
addrlen: socklen_t,
noalias host: [*]u8,
noalias host: ?[*]u8,
hostlen: socklen_t,
noalias serv: [*]u8,
noalias serv: ?[*]u8,
servlen: socklen_t,
flags: u32,
flags: NI,
) EAI;
pub extern "c" fn gai_strerror(errcode: EAI) [*:0]const u8;