CodeQL library for C/C++
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()