is_busy

is_busy — determines if a file is busy.

Syntax

is_busy (path)

		

Arguments

path

A character string defining a file path and file name in this file system.

Returns

t if the named file exists and is busy, otherwise nil.

Description

This function is supported only by certain operating system and hardware combinations that mark files as busy when they are opened for write by another task. You can check this using the ls -l shell command. If it shows a busy file with a 'B' or 'b' as the first bit in the bitmask, this function should be supported.

Example

Gamma> is_busy("/tmp/busyfile");
t
		

See Also

is_writable