|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1226 (0x4ca) Types: TextFile Notes: UNIX file Names: »alarm.h«
└─⟦ec4aa5908⟧ Bits:30004042/swdev3.imd SW95705I 386/ix Multi-user Release 1.2 └─⟦ec4aa5908⟧ UNIX Filesystem └─⟦this⟧ »sd/new/usr/include/alarm.h«
/* Copyright (c) 1984 AT&T */ /* All Rights Reserved */ /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */ /* The copyright notice above does not evidence any */ /* actual or intended publication of such source code. */ #ident "@(#)head:alarm.h 1.3" /* 3.0 SID # 1.1 */ /* * Hardware bits */ #define DTR 00002 /* Data Terminal Ready (primary alarm) */ #define R2S 00004 /* Request to Send (clear signal) */ #define RCT 00010 /* Secondary Transmit Data (auxiliary alarm) */ #define RCR 02000 /* Secondary Received Data (primary alarm status) */ #define C2S 020000 /* Clear to Send (auxiliary alarm status) */ #define RCHAR 063 /* The "reset character" */ /* * Function codes */ #define ALPRI 002000 /* Primary set, and test mask */ #define ALAUX 020000 /* Auxiliary set, and test mask */ #define ALTIME 000377 /* Timeout delay value mask */ #define ALSET 001000 /* Set timer delay */ #define ALRESET 004000 /* Restart watchdog timer */ #define ALCLEAR 010000 /* Clear all alarms */ struct sgtty alsgtty; #define alrmopn(name) (alfildes = open(name,2)) #define alrmclo() close(alfildes) #define alrm(cmd) \ (&alsgtty->sg_flags = cmd, stty(alfildes, &alsgtty), &alsgtty->sg_flags)