shm_unlink

shm_unlink --  removes shared memory objects.

Syntax

shm_unlink (share_name)

		

Arguments

share_name

The name of the shared object to delete.

Returns

t on success, or nil on failure, with errno set.

Description

This function is currently only available in QNX 4. It attempts to remove the shared object, share_name. If more than one process or link into the shared memory area exists the shared object will not be removed.

Possible values of errno are:

Example

    Gamma> shm_unlink("card_mem");
    t
    Gamma> 
    		

See Also

shm_open, mmap

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.