Reference Manual

NAME

close - close a device descriptor
SYNOPSIS
close device | name [n]
DESCRIPTION
Command close takes a device number or name as an argument and invokes the system call close on that device.

Each device has a reference count that is incremented by the system call open and decremented by the system call close. Thus, if the device has been opened n times, the user must invoke the close command n times to close it.

Alternatively, if argument n is specified, system call close will be invoked n times.

SEE ALSO
devs
Edit this page