Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

25. Process Termination > Details of Process Termination

Details of Process Termination

During both normal and abnormal termination of a process, the following actions occur:

  • Open file descriptors, directory streams (Reading Directories: opendir() and readdir() ), message catalog descriptors (see the catopen(3) and catgets(3) manual pages), and conversion descriptors (see the iconv_open(3) manual page) are closed.

  • As a consequence of closing file descriptors, any file locks (Chapter 55) held by this process are released.

  • Any attached System V shared memory segments are detached, and the shm_nattch counter corresponding to each segment is decremented by one. (Refer to Section 48.8.)


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint