This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.0'.
[unix-history] / sys / sys / spkr.h
CommitLineData
15637ed4
RG
1/*
2 * spkr.h -- interface definitions for speaker ioctl()
3 *
4 * v1.1 by Eric S. Raymond (esr@snark.thyrsus.com) Feb 1990
5 * modified for 386bsd by Andrew A. Chernov <ache@astral.msk.su>
6 * 386bsd only clean version, all SYSV stuff removed
78ed81a3 7 *
8 * $Id$
15637ed4
RG
9 */
10
11#ifndef _SPKR_H_
12#define _SPKR_H_
13
14#ifndef KERNEL
15#include <sys/ioctl.h>
16#else
17#include "ioctl.h"
18#endif
19
20#define SPKRTONE _IOW('S', 1, tone_t) /* emit tone */
21#define SPKRTUNE _IO('S', 2) /* emit tone sequence*/
22
23typedef struct
24{
25 int frequency; /* in hertz */
26 int duration; /* in 1/100ths of a second */
27}
28tone_t;
29
30#endif /* _SPKR_H_ */