your questions on not closing correctly
utzoo!decvax!ucbvax!unix-wizards
utzoo!decvax!ucbvax!unix-wizards
Wed Aug 19 19:42:17 AEST 1981
>From sdyer at 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.
More information about the Comp.unix.wizards
mailing list