From O_MAYEXEC to trusted_for()
From O_MAYEXEC to trusted_for()
Posted Nov 12, 2020 0:29 UTC (Thu) by foom (subscriber, #14868)In reply to: From O_MAYEXEC to trusted_for() by anselm
Parent article: From O_MAYEXEC to trusted_for()
Const in a declaration is what's meaningless (and ignored by the compiler).
E.g. if you have a declaration in a header:
void foo(const int k);You can still entirely validly and correctly have the implementation:
void foo(int k) {
k++;
}