On Fri, 31 Aug 2018, Kyrill Tkachov wrote: > > That sounds good! Although I'm confused about what the 'p' means. > > It stands for "predicate" meaning a boolean function with no side-effects. > It's the preferred way to name these kinds of functions in GCC (though I can't > seem to find the documentation mandate for it). > IIRC it's a remnant from the LISP days. You'll find a lot of *_p functions in > GCC.
It's mentioned in the jargon file as "The -P convention" (see e.g. at https://www.dourish.com/goodies/jargon.html ). Alexander