File:  [Net/2] / Net2 / arch / i386 / include / spkr.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:20:43 2018 UTC (8 years, 3 months ago) by root
Branches: NetBSD, MAIN
CVS tags: NetBSD09, HEAD
NetBSD 0.9

/*
 * 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 */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.