Files
Collin Funk 6cf1a20a99 physmem: Use countof.
* modules/physmem (Depends-on): Add stdcountof-h.
* lib/physmem.c: Include stdcountof.h.
(ARRAY_SIZE): Remove macro.
(physmem_total, physmem_claimable): Use countof instead of ARRAY_SIZE.
2026-07-15 19:57:39 -07:00

28 lines
302 B
Plaintext

Description:
Return amount of total/available physical memory.
Files:
lib/physmem.h
lib/physmem.c
m4/physmem.m4
Depends-on:
stdcountof-h
unistd-h
full-read
configure.ac:
gl_PHYSMEM
Makefile.am:
lib_SOURCES += physmem.c
Include:
"physmem.h"
License:
LGPLv2+
Maintainer:
Paul Eggert, Jim Meyering