You can use the sequence ‘\e’ in a string or character constant to stand for the ASCII character ESC.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Character-Escapes.html