[so] [tema2] linux implicit declaration of function `daemon'
Lucian Adrian Grijincu
lucian.grijincu at gmail.com
Sat Nov 17 19:25:03 EET 2007
On Nov 17, 2007 7:19 PM, Claudiu Tanase <claudiutanase at gmail.com> wrote:
> Stie cineva de ce imi da warningul asta?
> implicit declaration of function `daemon'
>
ai
#include <unistd.h>
?
> eu am in cod asta:
> int dval = daemon(0,0);
> CHECK(dval,"daemon",error);
>
> in pagina de man zice daemon ca intoarce int, iar checkerul de pe site da
> niste caractere ciudate:
>
> gcc -Wall -c server.c -o server.o
> server.c: In function ‘main’:
> server.c:132: warning: implicit declaration of function ‘daemon’
>
> --
> Claudiu Tanase
> 341CA Facultatea de Automaitca si Calculatoare, Universitatea Politehnica
> Bucuresti
> _______________________________________________
> so mailing list
> so at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
>
--
Lucian
More information about the so
mailing list