Call only signal-safe functions (#3).