Home » Coding » c++ » Release file descriptor in c/c++
Release file descriptor in c/c++ [message #17416] Mon, 08 October 2007 00:33
yinglcs  is currently offline yinglcs
Messages: 6
Registered: August 2007
Junior Member
I have a c/c++ program in linux.

I would like to know if I kill my program (e.g. exit(1)), will it
release all the file descriptors my program held (regardless if I call
close(fd) of each file descriptor)?

Thank you.
Previous Topic:puzzling error from GCC 3.4.4
Next Topic:Legal to override same function in different bases?
Goto Forum:
  


Current Time: Fri May 16 03:05:19 EDT 2008

Total time taken to generate the page: 0.28613 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software