[so] [tema2] linux implicit declaration of function `daemon'

Claudiu Tanase claudiutanase at gmail.com
Sat Nov 17 19:19:03 EET 2007


Stie cineva de ce imi da warningul asta?
  implicit declaration of function `daemon'

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


More information about the so mailing list