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

Predicate o_rdonly

Gets the number corresponding to the read-only file access mode.

Import path

import semmle.code.cpp.commons.unix.Constants
int o_rdonly()