1 '\" te 2 .\" Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved 3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. 4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. 5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] 6 .TH NTWDT 7D "Feb 05, 2005" 7 .SH NAME 8 ntwdt \- Netra\(embased application watchdog timer driver 9 .SH SYNOPSIS 10 .LP 11 .nf 12 /dev/ntwdt 13 .fi 14 15 .SH DESCRIPTION 16 .sp 17 .LP 18 The \fBntwdt\fR driver is a multithreaded, loadable, non-STREAMS pseudo driver 19 that provides an application with an interface for controlling a system 20 watchdog timer. 21 .sp 22 .LP 23 The \fBntwdt\fR driver implements a \fBvirtual watchdog timer\fR that a 24 privileged application (Effective UID == 0) controls via IOCTLs. 25 .SH CONFIGURATION 26 .sp 27 .LP 28 You configure the \fBntwdt\fR driver by modifying the contents of the 29 \fBntwdt.conf\fR file. 30 .SH ERRORS 31 .sp 32 .LP 33 An \fBopen()\fR fails if: 34 .sp 35 .ne 2 36 .na 37 \fBEPERM\fR 38 .ad 39 .RS 10n 40 Effective user ID is not zero. 41 .RE 42 43 .sp 44 .ne 2 45 .na 46 \fBENOENT\fR 47 .ad 48 .RS 10n 49 \fB/dev/ntwdt\fR is not present or driver is not installed. 50 .RE 51 52 .sp 53 .ne 2 54 .na 55 \fBEAGAIN\fR 56 .ad 57 .RS 10n 58 \fB/dev/ntwdt\fR has already been successfully open()'d. 59 .RE 60 61 .SH FILES 62 .sp 63 .ne 2 64 .na 65 \fB/dev/ntwdt\fR 66 .ad 67 .RS 28n 68 Special character device. 69 .RE 70 71 .sp 72 .ne 2 73 .na 74 \fBkernel/drv/sparcv9/ntwdt\fR 75 .ad 76 .RS 28n 77 SPARC ntwdt driver binary. 78 .RE 79 80 .sp 81 .ne 2 82 .na 83 \fBkernel/drv/ntwdt.conf\fR 84 .ad 85 .RS 28n 86 Driver configuraton file. 87 .RE 88 89 .SH ATTRIBUTES 90 .sp 91 .LP 92 See \fBattributes\fR(5) for descriptions of the following attributes: 93 .sp 94 95 .sp 96 .TS 97 box; 98 c | c 99 l | l . 100 ATTRIBUTE TYPE ATTRIBUTE VALUE 101 _ 102 Architecture SPARC 103 .TE 104 105 .SH SEE ALSO 106 .sp 107 .LP 108 \fBdriver.conf\fR(4), \fBattributes\fR(5) 109 .sp 110 .LP 111 \fIWriting Device Drivers\fR