emacs-pid
emacs-pid
is a built-in function in `
C source code
'. (emacs-pid) Return the process ID of Emacs, as a number.