How do I figure out if the fd (specifically, stdin=0) is open? apparently it is closed when the application is run by nohup. the only thing I could figure out so far is fstat: when 0 is open, st_mode is 8592, when it is closed it is 8630...
PS. Sorry about asking here, this is the most knowlegeable unix forum I know... -- Sam Steingold (http://sds.podval.org/) on Ubuntu 8.10 (intrepid) http://thereligionofpeace.com http://honestreporting.com http://ffii.org http://mideasttruth.com http://palestinefacts.org There's always free cheese in a mouse trap.