We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49bb8c5 commit 7c6f388Copy full SHA for 7c6f388
include/netdb_checked.h
@@ -26,7 +26,7 @@
26
#pragma CHECKED_SCOPE on
27
28
extern struct hostent *gethostbyname(const char *name : itype(_Nt_array_ptr<const char>)) : itype(_Ptr<struct hostent>);
29
-extern struct hostent *gethostbyaddr(const void *addr : byte_count(len), socklen_t len, int type);
+extern struct hostent *gethostbyaddr(const void *addr : byte_count(len), socklen_t len, int type) : itype(_Ptr<struct hostent>);
30
31
int getaddrinfo(const char *restrict node : itype(_Nt_array_ptr<const char> restrict),
32
const char *restrict service : itype(_Nt_array_ptr<const char> restrict),
0 commit comments