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 "Jan 10, 2020"
   7 .SH NAME
   8 ntwdt \- Netra\(embased application watchdog timer driver
   9 .SH SYNOPSIS
  10 .nf
  11 /dev/ntwdt
  12 .fi
  13 
  14 .SH DESCRIPTION
  15 The \fBntwdt\fR driver is a multithreaded, loadable, non-STREAMS pseudo driver
  16 that provides an application with an interface for controlling a system
  17 watchdog timer.
  18 .sp
  19 .LP
  20 The \fBntwdt\fR driver implements a \fBvirtual watchdog timer\fR that a
  21 privileged application (Effective UID == 0) controls via IOCTLs.
  22 .SH CONFIGURATION
  23 You configure the \fBntwdt\fR driver by modifying the contents of the
  24 \fBntwdt.conf\fR file.
  25 .SH ERRORS
  26 An \fBopen()\fR fails if:
  27 .sp
  28 .ne 2
  29 .na
  30 \fBEPERM\fR
  31 .ad
  32 .RS 10n
  33 Effective user ID is not zero.
  34 .RE
  35 
  36 .sp
  37 .ne 2
  38 .na
  39 \fBENOENT\fR
  40 .ad
  41 .RS 10n
  42 \fB/dev/ntwdt\fR is not present or driver is not installed.
  43 .RE
  44 
  45 .sp
  46 .ne 2
  47 .na
  48 \fBEAGAIN\fR
  49 .ad
  50 .RS 10n
  51 \fB/dev/ntwdt\fR has already been successfully open()'d.
  52 .RE
  53 
  54 .SH FILES
  55 .ne 2
  56 .na
  57 \fB/dev/ntwdt\fR
  58 .ad
  59 .RS 28n
  60 Special character device.
  61 .RE
  62 
  63 .sp
  64 .ne 2
  65 .na
  66 \fB/kernel/drv/sparcv9/ntwdt\fR
  67 .ad
  68 .RS 28n
  69 Device driver (SPARC)
  70 .RE
  71 
  72 .sp
  73 .ne 2
  74 .na
  75 \fB/kernel/drv/ntwdt.conf\fR
  76 .ad
  77 .RS 28n
  78 Driver configuration file
  79 .RE
  80 
  81 .SH ATTRIBUTES
  82 See \fBattributes\fR(5) for descriptions of the following attributes:
  83 .sp
  84 
  85 .sp
  86 .TS
  87 box;
  88 c | c
  89 l | l .
  90 ATTRIBUTE TYPE  ATTRIBUTE VALUE
  91 _
  92 Architecture    SPARC
  93 .TE
  94 
  95 .SH SEE ALSO
  96 \fBdriver.conf\fR(4), \fBattributes\fR(5)
  97 .sp
  98 .LP
  99 \fIWriting Device Drivers\fR