drv_setparm man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



drv_setparm(D3)						       drv_setparm(D3)

NAME
     drv_setparm - set kernel state information

SYNOPSIS
     #include <sys/types.h>
     #include <sys/ddi.h>
     int drv_setparm(ulong_t parm, ulong_t value);

   Arguments
     parm      The kernel parameter to be updated.

     value     The value to be added to the parameter.

DESCRIPTION
     drv_setparm verifies that parm corresponds to a kernel parameter that may
     be modified.  If the value of parm corresponds to a parameter that may
     not be modified, -1 is returned.  Otherwise, the parameter is incremented
     by value.

   Return Values
     If the function is successful, 0 is returned.  Otherwise, -1 is returned
     to indicate that parm specified an invalid parameter.

USAGE
     No checking is performed to determine the validity of value.  It is the
     driver's responsibility to guarantee the correctness of value.

     Valid values for parm are:

	  SYSCANC   Add value to sysinfo.canch.	 sysinfo.canch is a count of
		    the number of characters received from a terminal device
		    after the characters have been processed to remove special
		    characters such as break or backspace.

	  SYSMINT   Add value to sysinfo.mdmint.  sysinfo.mdmint is a count of
		    the number of modem interrupts received.

	  SYSOUTC   Add value to sysinfo.outch.	 sysinfo.outch is a count of
		    the number of characters output to a terminal device.

	  SYSRAWC   Add value to sysinfo.rawc.	sysinfo.rawc is a count of the
		    number of characters received from a terminal device,
		    before canonical processing has occurred.

	  SYSRINT   Add value to sysinfo.rcvint.  sysinfo.rcvint is a count of
		    the number of interrupts generated by data ready to be
		    received from a terminal device.

	  SYSXINT   Add value to sysinfo.xmtint.  sysinfo.xmtint is a count of
		    the number of interrupts generated by data ready to be
		    transmitted to a terminal device.

									Page 1

drv_setparm(D3)						       drv_setparm(D3)

   Level
     Base or Interrupt.

   Synchronization Constraints
     Does not sleep.

     Driver-defined basic locks, read/write locks, and sleep locks may be held
     across calls to this function.

REFERENCES
     drv_getparm(D3)

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net