summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Expand)AuthorAgeFilesLines
* Fix warnings about unused labels when building without -DUSE_MMAPkhali2015-05-131-2/+3
* Fix sparse warningkhali2015-04-281-1/+1
* dmidecode: Add support for 64-bit addresseskhali2015-04-271-3/+3
* util: Add read_file() function for reading sysfs fileskhali2015-04-211-0/+55
* Fix e-mail addresskhali2014-02-031-1/+1
* Update copyright year.khali2010-11-241-1/+1
* Add utility function u64_range, which computes the range between twokhali2010-11-241-0/+16
* * util.c: makes dmidecode fall back to regular reads if the mmapaarapov2010-09-291-10/+8
* When dumping the DMI table to a binary file, truncate the file first.khali2008-10-281-4/+2
* Mass coding-style change: add spaces around operators.khali2008-10-261-29/+29
* Update copyright statements.khali2008-02-161-1/+1
* Whitespace cleanups.khali2008-02-161-2/+2
* Drop trailing whitespace.khali2008-02-161-14/+14
* New option --dump-bin, dump the DMI data to a sparse binary file.khali2008-02-161-0/+42
* Fix incorrect length in munmap call.khali2005-02-121-3/+2
* Use size_t instead of off_t when handling memory addresses. This preventskhali2005-02-111-1/+1
* Display an error message on memory shortage.khali2005-02-111-0/+3
* Move USE_MMAP to config.h, use mmap on Linux only.khali2004-12-101-0/+2
* Use sysconf(_SC_PAGESIZE) instead of getpagesize() where available.khali2004-11-221-0/+4
* Function myread() has no more user outside of util.c.khali2004-11-211-1/+3
* Use MAP_SHARED instead of MAP_PRIVATE in mmap. Seems to be needed forkhali2004-11-111-1/+1
* More helpful error messages.khali2004-11-111-3/+8
* Workaround missing MAP_FAILED definition, needed on old systems. Originalkhali2004-10-241-0/+5
* Add missing header include.khali2004-07-241-0/+1
* New mem_chunk function. It returns a buffer containing a copy of a givenkhali2004-05-021-1/+70
* Common "util" functions.khali2003-06-171-0/+75