daemonizing don't work (corrected)
Sat Feb 13 09:26:00 GMT 1999
Sorry, I jumped the gun a bit ...
Closer inspection of my code yielded:
if ( (fd=open("/dev/tty",O_RDWR,0))>=0 )
if ( ioctl(fd,TIOCNOTTY,NULL)==-1 )
printf("Can\'t detach /dev/tty - can\'t daemonize !");
So I must change my statement to:
Daemonizing has not exactly worked for me
under cygwin b<anything>.
Is ioctl->TIOCNOTTY supported ?
More information about the Cygwin