SYS$DELMBX (OpenVMS) SYS$DELMBX (OpenVMS)
NAME
close, unlink, msgctl - remove interprocess communication channel
SYS$DELMBX - Mark a permanent mailbox for deletion and delete when no
more channels are assigned
EXPLAINATION
The Digital UNIX close, unlink, and msgctl functions are similiar to
the OpenVMS SYS$DELMBX system service in that they both remove connec‐
tions to interprocess communication channels. The Digital UNIX close
function will remove a connection to a interprocess communication path
described by a descriptor. This includes FIFO and socket connections.
The close function will also remove connections to normal files and, in
general, any communications path described by a descriptor. The unlink
function will delete any object in the filesystem. This includes
FIFOs. The file object is not deleted until all processes have closed
their communications path to the object. The msgctl can be used to
delete message queues when it is called with IPC_RMID as the command
argument.
TCP and UDP socket interprocess communication paths are similar to tem‐
porary mailboxes in that they don't need to be removed. When the last
process using them closes the descriptor or exits, the socket is
removed. Other interprocess facilities must be explicitly removed
using unlink or msgctl.
RELATED INFORMATION
Digital UNIX Functions:
close(2), unlink(2), msgctl(2), intro(2) delim off
SYS$DELMBX (OpenVMS)