The _pexit function is not part of any library and it is up to you to provide a definition for _pexit.

Unless you plan to explicitly call _pexit, you do not need to provide a prototype. The function must appear as if it had the following prototype, and it must push the content of all registers on entry and pop the unchanged content on exit: