Date: Mon, 01 Jul 2013 20:42:07 -0400 From: "David Sanford" <david.lee.tn@programmer.net> To: freebsd-hackers@freebsd.org Subject: another question Message-ID: <20130702004207.5510@gmx.com>
next in thread | raw e-mail | index | archive | help
Hi, Thanks for your responses to my first question. They were very helpful. In looking at the code, I ran across the functions setprogname and getprogname. According to the man page: In FreeBSD, the name of the program is set by the start-up code that is run before *main*(); thus, running *setprogname*() is not necessary. I'm confused by how this is done. Where is this "start-up code" defined? Is this included in all executables compiled on FreeBSD? Even the programs released under the GNU GPL? Sincerely, David Lee from Tennessee
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130702004207.5510>