AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
cpio_hdr Struct Reference

The header of a member of an old binary cpio archive, as it is in the archive: its name follows, then its data. More...

#include <cpio.h>

Data Fields

uint16_t magic
uint16_t dev
uint16_t ino
uint16_t mode
uint16_t uid
uint16_t gid
uint16_t nlink
uint16_t rdev
uint16_t mtime [2]
uint16_t namesize
uint16_t filesize [2]

Detailed Description

The header of a member of an old binary cpio archive, as it is in the archive: its name follows, then its data.

Definition at line 12 of file cpio.h.

Field Documentation

◆ dev

uint16_t cpio_hdr::dev

Definition at line 14 of file cpio.h.

◆ filesize

uint16_t cpio_hdr::filesize[2]

Definition at line 23 of file cpio.h.

Referenced by cpio_load().

◆ gid

uint16_t cpio_hdr::gid

Definition at line 18 of file cpio.h.

◆ ino

uint16_t cpio_hdr::ino

Definition at line 15 of file cpio.h.

◆ magic

uint16_t cpio_hdr::magic

Definition at line 13 of file cpio.h.

Referenced by cpio_load().

◆ mode

uint16_t cpio_hdr::mode

Definition at line 16 of file cpio.h.

Referenced by cpio_new_node().

◆ mtime

uint16_t cpio_hdr::mtime[2]

Definition at line 21 of file cpio.h.

Referenced by cpio_new_node().

◆ namesize

uint16_t cpio_hdr::namesize

Definition at line 22 of file cpio.h.

Referenced by cpio_load().

◆ nlink

uint16_t cpio_hdr::nlink

Definition at line 19 of file cpio.h.

Referenced by cpio_new_node().

◆ rdev

uint16_t cpio_hdr::rdev

Definition at line 20 of file cpio.h.

Referenced by cpio_new_node().

◆ uid

uint16_t cpio_hdr::uid

Definition at line 17 of file cpio.h.


The documentation for this struct was generated from the following file:
  • kernel/fs/initramfs/cpio/cpio.h