Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2005 13:17:22 -0500
From:      Charles Swiger <cswiger@mac.com>
To:        Javier Matos <javierlu@gmail.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: a simple question...
Message-ID:  <2C8F3C40-6F4C-4D0B-A308-EF4A62214D6B@mac.com>
In-Reply-To: <000601c5e16b$5751b510$0301a8c0@mindcrash>
References:  <000601c5e16b$5751b510$0301a8c0@mindcrash>

next in thread | previous in thread | raw e-mail | index | archive | help

On Nov 4, 2005, at 1:12 PM, Javier Matos wrote:
> Hello, I´m a student of computer science and this year I must to do  
> an application using system calls.
> We are using linux system calls like "pid_t fork(void)" and other  
> services of the standard POSIX. I want to know if it´s possible to  
> use that system calls in FreeBSD because I prefer to improve my use  
> of freebsd. I will write my application in C and I have freebsd 5.4  
> with linux compability activated.

FreeBSD has a fork() system call of it's own, yes, along with all of  
the other system and library calls from POSIX and ANSI-C standards.   
If you write portable C, you can recompile your program under FreeBSD  
without using Linux emulation.

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2C8F3C40-6F4C-4D0B-A308-EF4A62214D6B>