FreeBSD 7.0 manual page repository

FreeBSD is a free computer operating system based on BSD UNIX originally. Many IT companies, like DeployIS is using it to provide an up-to-date, stable operating system.

devclass_get_drivers - get a list of drivers in a devclass



      devclass_get_drivers - get a list of drivers in a devclass


      #include <sys/param.h>
      #include <sys/bus.h>
      devclass_get_drivers(devclass_t dc, driver_t ***listp, int *countp);


      Retrieve a list of pointers to all driver instances currently in the dev‐
      class and return the list in *listp and the number of drivers in the list
      in *countp.  The memory allocated for the list should be freed using
      free(*listp, M_TEMP), even if *countp is 0.
      Zero is returned on success, otherwise an appropriate error is returned.
      devclass(9), device(9)


      This manual page was written by Nate Lawson.


Based on BSD UNIX
FreeBSD is an advanced operating system for x86 compatible (including Pentium and Athlon), amd64 compatible (including Opteron, Athlon64, and EM64T), UltraSPARC, IA-64, PC-98 and ARM architectures. It is derived from BSD, the version of UNIX developed at the University of California, Berkeley. It is developed and maintained by a large team of individuals. Additional platforms are in various stages of development.