From owner-freebsd-questions@FreeBSD.ORG Fri Nov 4 18:17:26 2005 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org 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 EF1F016A41F for ; Fri, 4 Nov 2005 18:17:26 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63B5243D46 for ; Fri, 4 Nov 2005 18:17:26 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id AF8F05FA2; Fri, 4 Nov 2005 13:17:25 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28158-06; Fri, 4 Nov 2005 13:17:24 -0500 (EST) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id E1B6D5C1F; Fri, 4 Nov 2005 13:17:24 -0500 (EST) In-Reply-To: <000601c5e16b$5751b510$0301a8c0@mindcrash> References: <000601c5e16b$5751b510$0301a8c0@mindcrash> Mime-Version: 1.0 (Apple Message framework v746.2) X-Priority: 3 Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <2C8F3C40-6F4C-4D0B-A308-EF4A62214D6B@mac.com> Content-Transfer-Encoding: quoted-printable From: Charles Swiger Date: Fri, 4 Nov 2005 13:17:22 -0500 To: Javier Matos X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@FreeBSD.org Subject: Re: a simple question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 18:17:27 -0000 On Nov 4, 2005, at 1:12 PM, Javier Matos wrote: > Hello, I=B4m a student of computer science and this year I must to do =20= > an application using system calls. > We are using linux system calls like "pid_t fork(void)" and other =20 > services of the standard POSIX. I want to know if it=B4s possible to =20= > use that system calls in FreeBSD because I prefer to improve my use =20= > of freebsd. I will write my application in C and I have freebsd 5.4 =20= > with linux compability activated. FreeBSD has a fork() system call of it's own, yes, along with all of =20 the other system and library calls from POSIX and ANSI-C standards. =20 If you write portable C, you can recompile your program under FreeBSD =20= without using Linux emulation. --=20 -Chuck