From owner-freebsd-questions Thu Nov 16 13:18:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 0A2D637B4C5; Thu, 16 Nov 2000 13:18:42 -0800 (PST) Received: from newsguy.com (p18-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.83]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id GAA05703; Fri, 17 Nov 2000 06:16:10 +0900 (JST) Message-ID: <3A144E33.F8B57C38@newsguy.com> Date: Fri, 17 Nov 2000 06:14:27 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: "Yonny Cardenas B." Cc: hackersBSD , questions , German Vega Subject: Re: RTP as system calls. References: <394A5225.AF165842@yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Yonny Cardenas B." wrote: > > I have some questions: > > 1) Can I call functions level's user into kernel, as socket() or > calloc() ? No. > 2) How must I use the global variable "errno" for value > returned for system calls ? Is sufficient with #include ? You are not calling system calls from inside the kernel, and you are also not using errno like you would from userland. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@world.wide.bsdconspiracy.net He has been convicted of criminal possession of a clue with intent to distribute. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message