From owner-freebsd-questions Fri Jul 12 17:26:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BD8137B400 for ; Fri, 12 Jul 2002 17:26:07 -0700 (PDT) Received: from pan.ch.intel.com (chfdns01.ch.intel.com [143.182.246.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id B583143E31 for ; Fri, 12 Jul 2002 17:26:06 -0700 (PDT) (envelope-from pavan.balaji@intel.com) Received: from azsmsxvs043.ch.intel.com (azsmsxvs043.ch.intel.com [10.2.248.13]) by pan.ch.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.42 2002/05/23 22:21:11 root Exp $) with SMTP id g6D0Q6323861 for ; Sat, 13 Jul 2002 00:26:06 GMT Received: from fmsmsx28.fm.intel.com ([132.233.42.28]) by azsmsxvs043.ch.intel.com (NAVGW 2.5.2.11) with SMTP id M2002071217260627020 for ; Fri, 12 Jul 2002 17:26:06 -0700 Received: by fmsmsx28.fm.intel.com with Internet Mail Service (5.5.2653.19) id ; Fri, 12 Jul 2002 17:26:06 -0700 Message-ID: <3D386AED1B47D411A94300508B11F18703BC5B96@fmsmsx116.fm.intel.com> From: "Balaji, Pavan" To: "'freebsd-questions@freebsd.org'" Subject: One more question on System Calls Date: Fri, 12 Jul 2002 17:26:05 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have now been able to add my own system call, but right now, I'm able to access it only through the system(param) command. How do I let my program directly call the function? For example if my system call is: mycall (void) with a syscall number as 300. Right now I'm able to call this from my "C" program using syscall (300), but I wan't to call it directly as mycall() from the program. Hope I made sense... :-( Any suggestions? Pavan Balaji, CIS Graduate Student, Ohio State University "Being happy doesn't mean that everything is perfect... It just means that you have decided to see beyond the imperfections" -- Rash To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message