Purpose: Close directory that was opened previously to read its entries.
close-dir <dir id> [ status <status> ]
Copied!
close-dir will close the directory stream <dir id> opened with open-dir, which is used to read the list of entries in a directory.
If not closed, all directory streams will be automatically closed when the request ends.
Status <status> (in "status" clause) is RIM_OKAY if successfully closed or RIM_ERR_CLOSE on error (in which case you can use "errno" clause in get-req to find the specific reason why).