CodeQL library for C/C++
codeql/cpp-all 0.12.11 (changelog, source)
Search

Predicate fcloseCall

A call to a library function that closes a file.

Import path

import semmle.code.cpp.commons.File
predicate fcloseCall(FunctionCall fc, Expr closed)