mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
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:
commit
d4c85079c5
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user