dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
meminfo.c File Reference

(ad996529f)

#include <config.h>
#include <compat.h>
#include <sys/stat.h>
#include <errno.h>
#include <inttypes.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <dpkg/dpkg.h>
#include <dpkg/fdio.h>
#include <dpkg/meminfo.h>
Include dependency graph for meminfo.c:

Data Structures

struct  meminfo_field
 

Macros

#define MEMINFO_FIELD(name, tag)   name, sizeof(name) - 1, tag, 0
 

Functions

enum meminfo_error_code meminfo_get_available_from_file (const char *filename, uint64_t *val)
 
enum meminfo_error_code meminfo_get_available (uint64_t *val)
 

Macro Definition Documentation

◆ MEMINFO_FIELD

#define MEMINFO_FIELD (   name,
  tag 
)    name, sizeof(name) - 1, tag, 0