Aucbvax.2757 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Wed Aug 19 19:42:17 1981 your questions on not closing correctly >From sdyer@BBN-UNIX Wed Aug 19 19:34:16 1981 With special devices, the formal close routine (i.e., the one specified in the cdevsw[] table) does not get invoked until the last process which had that special file open either does an explicit close or exits. Invoking the syscall "close()" will only invoke the close routine if no other processes have the file open. For the use that you suggest, this would be VERY unlikely. With special devices, the formal close routine (i.e., the one specified in the cdevsw[] table) does not get invoked until the last process which had that special file open either does an explicit close or exits. Invoking the syscall "close()" will only invoke the close routine if no other processes have the file open. For the use that you suggest, this would be VERY unlikely. ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.