Pike v8.1 release 6

Method SDL.cd_name()


Method cd_name

string|void cd_name(int drive)

Description

Returns a human-readable and system-dependent name for the given drive.

Parameter drive

The CD drive index.

Returns

A human-readable and system-dependent name for the given drive, or 0 if no name is available.

See also

SDL.cd_num_drives()