CodeQL library for C/C++
codeql/cpp-all 2.0.1-dev (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()