| Main index | Section 9 | Options |
#include <sys/param.h>
#include <sys/bus.h>
The functions take the following arguments:
| name | |
| The name of the device to get the resource value from. | |
| unit | |
| The unit number of the device. -1 is special and is used for wildcard entries. | |
| resname | |
| The resource name. | |
| result | |
| A pointer to memory in which to store the resource value. | |
| [ENOENT] | |
| The resource could not be found. | |
| [EFTYPE] | |
| Inappropriate resource type. | |
| RESOURCE_INT_VALUE (9) | March 1, 2001 |
| Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Today, the Unix equivalent of a power drill would have 20 dials and switches, come with a nonstandard plug, require the user to hand-wind the motor coil, and not accept 3/8" or 7/8" drill bits (though this would be documented in the BUGS section of its instruction manual). | ” |
| — The Unix Haters' handbook | ||