Backported various convenience functions from Pike 7.5. Rev: src/cpp.c:1.110 Rev: src/cpp.h:1.8 Rev: src/program.c:1.487 Rev: src/program.h:1.181