bitcoin core – Macro HAVE_DECL_FORK


I’m a new learner of bitcoin project. I’m aware that the macros in header file config/bitcoin-config.h and whole file itself were generated by autoconf. Looked into, regarding to fork symbol, I only see only one check AC_CHECK_DECLS([fork]), i.e., I cannot find where symbol fork is defined, but in bitcoin-config.h value of macro HAVE_DECL_FORK is 1. This is true for some other symbols.
Could anyone help to explain that?

Source link

Leave a reply