Linux中使用CD刻录设备的一些常见C库是什么? [英] What are some common C libraries in Linux to use a CD burning device?
问题描述
我对创建使用CD刻录设备的软件感兴趣.我将在Linux下用C编写此代码,并使用GCC进行编译.
I am interested in creating software that uses a CD burning device. I will be writing this code in C under Linux and compiling using GCC.
推荐答案
libburn ;以及来自同一站点的其他朋友库).在 brasero (GNOME), cdw .
libburn as the name suggests ;) (and other friend-libraries from the same site). It's used in brasero (GNOME), xfburn (xfce) and cdw.
好吧,就是这样.真的,我不知道有没有其他库.
And well, that's it. Really, I'm not aware of any more libraries.
实际上,包装命令行cdrecord
(来自 cdrtools 或 cdrkit ),但它们从未提供共享库;这只是运行外部可执行文件(然后解析其输出
In fact, it was more common to wrap command-line cdrecord
(from cdrtools or cdrkit) but they never provided a shared library; it was just an old unix practice on running external executables (and then parsing their output, ugly). AFAIK it's still used in k3b and a few minor tools but the general trend is migration towards libburn.
这篇关于Linux中使用CD刻录设备的一些常见C库是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!