Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 11:34:26 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Shankar Agarwal <shankar_agarwal@net.com>, bsd hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Question regarding the funcation socket()...
Message-ID:  <20010313113426.A44321@walton.maths.tcd.ie>
In-Reply-To: <20010312175005.B29888@fw.wintelcom.net>; from bright@wintelcom.net on Mon, Mar 12, 2001 at 05:50:05PM -0800
References:  <3AAD7114.A01DE452@net.com> <20010312171828.Q18351@fw.wintelcom.net> <3AAD79BB.F2B53814@net.com> <20010312175005.B29888@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 12, 2001 at 05:50:05PM -0800, Alfred Perlstein wrote:

> Can you explain _why_ this isn't working, like an error message, maybe?

It doesn't work 'cos the socket library call is not written in C,
so grepping/cscoping won't find it. It is generated from socket.S,
which seems to be produced by a line in src/lib/libc/sys/Makefile.inc
which does:

	printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' > ${.TARGET}

That make file includes various other makefiles which produce the
list of syscalls which should be compiled into the library.

	David.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010313113426.A44321>