Add interface to eject CD-ROM by device name.

eject.c: new routine to test/show this.
example/*.c iso2.cpp: Note in comment allowance of an optional argument.
This commit is contained in:
rocky
2005-11-07 07:44:00 +00:00
parent 2f8e8b9529
commit 6f81e9252b
9 changed files with 133 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: iso2.cpp,v 1.4 2005/10/30 14:25:46 rocky Exp $
$Id: iso2.cpp,v 1.5 2005/11/07 07:44:00 rocky Exp $
Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
@@ -21,6 +21,10 @@
/* Simple program to show using libiso9660 to extract a file from a
cue/bin CD-IMAGE.
If a single argument is given, it is used as the CUE file of a CD image
to use. Otherwise a compiled-in default image name (that
comes with the libcdio distribution) will be used.
This program can be compiled with either a C or C++ compiler. In
the distribution we prefer C++ just to make sure we haven't broken
things on the C++ side.