summaryrefslogtreecommitdiffstats
path: root/lib/libdevinfo/devinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* Make the variadic macro debug() comply to C99.stefanf2006-07-171-3/+6
|
* Clear devinfo_generation in devinfo_free() since we are freeing all of thejhb2005-06-221-0/+1
| | | | | | | | | | | | | cached state. Otherwise, a subsequent call to devinfo_init() would succeed without reading the device tree from the kernel thinking that the cached state was up to date since the generation count was the same. However, since the cached state was actually free'd, attempts to examine the tree after the second devinfo_init() would fail. Reported by: Juho Vuori juho dot vuori at kepa dot fi Submitted by: Stefan Farfeleder stefan at fafoe dot narf dot at Approved by: re (dwhite) MFC after: 1 week
* Remove unused variables. Whitespace cleaning.charnier2005-05-201-13/+13
|
* Fix typo in a comment.stefanf2005-03-011-1/+1
|
* Prefer C99's __func__ over GCC's __FUNCTION__.stefanf2004-09-221-1/+1
|
* Expose the new kernel data structures to libdevinfo:imp2002-09-201-3/+12
| | | | | | o Added dd_pnpinfo, dd_location, dd_devflags, dd_flags and dd_state o Copy/initialize these as necessary. o Document the changes to the interface in devinfo.3.
* Implement __FBSDID()dillon2001-09-161-2/+3
|
* Include string.h for the strlen() prototype to quiet a warning.jhb2001-08-101-0/+1
|
* This is the Device Information Library, libdevinfo.msmith2001-04-201-0/+488
The devinfo library provides access to the kernel's internal device hierarchy and to the I/O resource manager. The library uses a sysctl(9) interface to obtain a snapshot of the kernel's state which is then made available to the application.
OpenPOWER on IntegriCloud