[vlc-devel] Re: about minisap Server

Gildas Bazin gbazin at netcourrier.com
Mon Apr 28 12:31:23 CEST 2003


Clément Stenac wrote:
>
>> sapserver.cpp:246: `daemon' undeclared (first use this function)
>
>Looks like the daemon() function (in unistd.h) is not supported.
>
>Well, to avoid this, we could try to use the fork() function instead 
>of the daemon function. Actually daemon() uses fork() to do its job..
>
>It shouldn't be hard to do and we can expect that it will also work 
>on Windows.
>

No, fork() is not supported by win32.
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_port_from_unix_to_win32.asp)

However, if you use the cygwin posix emulation layer, fork() should work fine.

--
Gildas

-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list