Source to arch/i386/include/spkr.h


Enter a symbol's name here to quickly find it.

/*
 * spkr.h -- interface definitions for speaker ioctl()
 *
 * v1.1 by Eric S. Raymond ([email protected]) Feb 1990
 *      modified for 386bsd by Andrew A. Chernov <[email protected]>
 *      386bsd only clean version, all SYSV stuff removed
 *
 *	spkr.h,v 1.1 1993/06/16 18:12:23 brezak Exp
 */

#ifndef _SPKR_H_
#define _SPKR_H_

#ifndef KERNEL
#include <sys/ioctl.h>
#else
#include "ioctl.h"
#endif

#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;

#endif /* _SPKR_H_ */
/* spkr.h ends here */