[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Kernel and Subsystems Technical Reference, Volume 2

KSVOLUME (Set Alarm Volume) ioctl

Purpose

Sets alarm volume.

Syntax

#include <sys/inputdd.h>int ioctl (FileDescriptor, KSVOLUME, Arg)

int FileDescriptor;
uint *Arg;

Description

The KSVOLUME ioctl subroutine call sets the alarm volume.

When keyboard diagnostics are enabled, the KSVOLUME ioctl subroutine call fails and sets the errno global variable to a value of EBUSY.

Parameters

FileDescriptor Specifies the open file descriptor for the keyboard.
Arg Specifies an integer that contains one of the following values:
#define KSAVOLOFF 0 /*Turns off alarm.*/
#define KSAVOLLOW 1 /*Sets alarm to low volume.*/
#define KSAVOLMED 2 /*Sets alarm to medium volume*/
#define KSAVOLHI 3 /*Sets alarm to high volume.*/

Implementation Specifics

This ioctl subroutine call is part of Base Operating System (BOS) Runtime.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]