From owner-freebsd-questions Tue Sep 12 7:53:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 5AD0137B424 for ; Tue, 12 Sep 2000 07:53:27 -0700 (PDT) Received: from sol.cs.binghamton.edu (sol.cs.binghamton.edu [128.226.123.100]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with ESMTP id KAA20621 for ; Tue, 12 Sep 2000 10:53:26 -0400 (EDT) Date: Tue, 12 Sep 2000 10:49:45 -0400 (EDT) From: Zhihui Zhang To: freebsd-questions@freebsd.org Subject: where is system() implemented? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message