Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // C++ Stream style
- log::info() << "Forking process, child pid = " << pid << " (parent pid = " << ppid << ")" << std::endl;
- // C++ variadic template
- log::info("Forking process, child pid = ", pid, " (parent pid = ", ppid, ")\n");
- // C printf()-family style
- log::info("Forking process, child pid = %d (parent pid = %d)\n", pid, ppid);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement