Date: Tue, 12 Sep 2000 15:27:12 -0400 (EDT) From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: freebsd-questions@freebsd.org Subject: Re: where is system() implemented? Message-ID: <Pine.SOL.4.21.0009121526220.24345-100000@sol.cs.binghamton.edu> In-Reply-To: <Pine.SOL.4.21.0009121046160.22903-100000@sol.cs.binghamton.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Sep 2000, Zhihui Zhang wrote: > > The library call __system() is implemented in lib/libc/stdlib/system.c. > But we normally use it as system() without the two preceding '_' > characters. Where is the magic done to add the "__" in the source code? > Thanks. It turns out to have something to do with the so-called weak symbols. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0009121526220.24345-100000>