CDclose(3dm) CDclose(3dm)
NAME
CDclose - closes a CD-ROM device
SYNOPSIS
#include <sys/types.h>
#include <dmedia/cdaudio.h>
int CDclose(CDPLAYER* cd)
PARAMETER
cd A pointer to the CDPLAYER structure representing the target CD-ROM
drive.
RETURNED VALUE
If successful, this function returns a non-zero value otherwise zero is
returned.
DESCRIPTION
CDclose(3dm) frees the resources associated with cd allocated by
CDopen(3dm). CDclose(3dm) also unlocks the eject button on the CD-ROM
drive.
After calling CDclose(3dm), cd should no longer be used.
SEE ALSO
CDintro(3dm), CDgetstatus(3dm), CDgettrackinfo(3dm), CDeject(3dm),
CDopen(3dm), CDplay(3dm), CDplayabs(3dm), CDplaytrack(3dm),
CDplaytrackabs(3dm), CDreadda(3dm), CDseek(3dm), CDseektrack(3dm),
CDseekblock(3dm), CDstop(3dm), CDtogglepause(3dm)
AUTHOR
Roger Chickering, Mark Callow
Page 1