⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 speaker.h

📁 基于组件方式开发操作系统的OSKIT源代码
💻 H
字号:
/* * speaker.h -- interface definitions for speaker ioctl() * * v1.4 by Eric S. Raymond (esr@snark.thyrsus.com) Aug 1993 *      modified for FreeBSD by Andrew A. Chernov <ache@astral.msk.su> * */#ifndef _SPEAKER_H_#define _SPEAKER_H_#include <sys/ioctl.h>#define SPKRTONE        _IOW('S', 1, tone_t)    /* emit tone */#define SPKRTUNE        _IO('S', 2)             /* emit tone sequence*/typedef struct{    int	frequency;	/* in hertz */    int duration;	/* in 1/100ths of a second */}tone_t;/* * Strings written to the speaker device are interpreted as tunes and played; * see the spkr(4) man page for details. */#endif /* _SPEAKER_H_ *//* speaker.h ends here */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -