switch man page on Inferno

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

SWITCH(3)							     SWITCH(3)

NAME
       switch - hardware option switch

SYNOPSYS
       bind -a '#r' /dev

       /dev/switch

DESCRIPTION
       The  switch  device  serves a one-level directory, giving access to one
       read-only file, switch.	A read returns the value  of  the  development
       board's	option switch (DS1), represented as a decimal number from 0 to
       15, representing four bits, each corresponding to one of the four  tog‐
       gles.   Each toggle produces the value 0 when it is set `ON' and 1 when
       it is off.  Toggle 1 corresponds to bit 1<<3 in the  number,  toggle  2
       corresponds to bit 1<<2, and so on

SOURCE
       /os/mpc/devrtc.c

				    MPC8xx			     SWITCH(3)
[top]

List of man pages available for Inferno

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