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

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;