Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sdi_wedt(D3I) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       sdi_wedt(D3I)                                          sdi_wedt(D3I)


       NAME
             sdi_wedt - modify an existing Equipped Device Table (EDT)
             entry

       SYNOPSIS
             #include <sys/sdi.h>
             int sdi_wedt(struct sdi_edt *edtp, int devtype, char *inq);

          Arguments
             edtp  Pointer to an EDT entry to modify.

             devtype
                   New device type value to set for this EDT entry.

             inq   Pointer to the new inquiry string to set for this EDT
                   entry.

       DESCRIPTION
             sdi_wedt modifies the device type and inquiry string of an
             existing EDT entry pointed to by edtp.

          Return Values
             On success, sdi_wedt returns SDI_RET_OK.  On failure, it
             returns SDI_RET_ERR.

       USAGE
             If the EDT is empty or no matching entry exists, SDI_RET_ERR
             is returned.  The value for edtp used must be the same as the
             value returned by sdi_redt for a given PDI device.

             No validity checking is performed on the value specified for
             devtype.  inq must be a valid pointer to a null-terminated
             string.

             sdi_wedt is not regularly used, but allows modification of the
             inquiry string and device type for an existing EDT entry.

          Level
             Base only.

       REFERENCES
             sdi_redt(D3I)

       NOTICES




                           Copyright 1994 Novell, Inc.               Page 1













      sdi_wedt(D3I)                                          sdi_wedt(D3I)


         Applicability
            sdi: 1, 2














































                          Copyright 1994 Novell, Inc.               Page 2








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026