17 const auto SockAddrPointerType =
18 hasType(pointsTo(recordDecl(isStruct(), hasName(
"sockaddr"))));
19 const auto SockLenPointerType =
20 hasType(pointsTo(namedDecl(hasName(
"socklen_t"))));
23 functionDecl(returns(isInteger()), hasName(
"accept4"),
24 hasParameter(0, hasType(isInteger())),
25 hasParameter(1, SockAddrPointerType),
26 hasParameter(2, SockLenPointerType),
27 hasParameter(3, hasType(isInteger()))));