[vlc-devel] can't call fork() in vlc.c

Sooyoung Sung maximus at cmu.edu
Tue Apr 6 04:39:59 CEST 2004


I tried calling fork() inside main() in vlc.c, but the compiler keeps
complaining "undefined reference to '_fork'.

I included <unistd.h> and <sys/types.h>.
Call to 'execvp()' works fine, which puzzles me more. Any idea?

Thanks.

-- 
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