<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">--</div><div class=""><pre style="word-wrap: break-word; white-space: pre-wrap;" class=""><pre style="word-wrap: break-word; white-space: pre-wrap;" class="">Style guide requires to add the following code:</pre></pre><pre style="word-wrap: break-word; white-space: pre-wrap;" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>/*
         * At the start of main(), call setprogname() to set the program
         * name.  This does nothing on NetBSD, but increases portability
         * to other systems.
         */
        setprogname(argv[0]);</pre><pre style="word-wrap: break-word; white-space: pre-wrap;" class="">If setprogname()/getprogname() exists, they should be in &lt;stdlib.h&gt;, but google told me</pre><pre style="word-wrap: break-word; white-space: pre-wrap;" class="">Linux doesn’t have such functions, they belong to *BSD. So, I can’t get tcp.c compiled</pre><pre style="word-wrap: break-word; white-space: pre-wrap;" class="">if I follow the style guide.</pre><pre style="word-wrap: break-word; white-space: pre-wrap;" class="">Does anybody have the same question? Shall we ignore the style guide?</pre><pre style="word-wrap: break-word; white-space: pre-wrap;" class=""><br class=""></pre></div></body></html>