mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +00:00
format-table: add TABLE_PID cell type
This commit is contained in:
@@ -43,6 +43,10 @@ typedef enum TableDataType {
|
||||
_TABLE_DATA_TYPE_INVALID = -1,
|
||||
} TableDataType;
|
||||
|
||||
/* PIDs are just 32bit signed integers on Linux */
|
||||
#define TABLE_PID TABLE_INT32
|
||||
assert_cc(sizeof(pid_t) == sizeof(int32_t));
|
||||
|
||||
typedef struct Table Table;
|
||||
typedef struct TableCell TableCell;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user