• Navigation überspringen
  • Zur Navigation
  • Zum Seitenende
Organisationsmenü öffnen Organisationsmenü schließen
Friedrich-Alexander-Universität Lehrstuhl für Informatik 4 (Systemsoftware)
  • FAUZur zentralen FAU Website
  1. Friedrich-Alexander-Universität
  2. Technische Fakultät
  3. Department Informatik
Suche öffnen
  • English
  • Campo
  • StudOn
  • FAUdir
  • Stellenangebote
  • Lageplan
  • Hilfe im Notfall
  1. Friedrich-Alexander-Universität
  2. Technische Fakultät
  3. Department Informatik
Friedrich-Alexander-Universität Lehrstuhl für Informatik 4 (Systemsoftware)
Menu Menu schließen
  • Lehrstuhl
    • Team
    • Aktuelles
    • Kontakt und Anfahrt
    • Leitbild
    • 50-jähriges Jubiläum
    Portal Lehrstuhl
  • Forschung
    • Forschungsbereiche
      • Betriebssysteme
      • Confidential Computing
      • Eingebettete Systemsoftware
      • Verteilte Systeme
    • Projekte
      • AIMBOS
      • BALu
      • BFT2Chain
      • DOSS
      • Mirador
      • NEON
      • PAVE
      • ResPECT
      • Watwa
    • Projektkampagnen
      • maRE
    • Seminar
      • Systemsoftware
    Portal Forschung
  • Publikationen
  • Lehre
    • Sommersemester 2025
      • Applied Software Architecture
      • Ausgewählte Kapitel der Systemsoftware
      • Betriebssystemtechnik
      • Projekt angewandte Systemsoftwaretechnik
      • System-Level Programming
      • Systemnahe Programmierung in C
      • Systemprogrammierung 1
      • Verteilte Systeme
    • Wintersemester 2024/25
      • Betriebssysteme
      • Middleware – Cloud Computing
      • Systemprogrammierung 2
      • Verlässliche Echtzeitsysteme
      • Virtuelle Maschinen
      • Web-basierte Systeme
    Portal Lehre
  • Examensarbeiten
  1. Startseite
  2. Extern

Extern

Bereichsnavigation: Lehre
  • Betriebssystemtechnik
    • Vorlesung
      • Folien
      • Glossar
    • Übung
      • Aufgaben
      • Dokumentation
        • Blog
          • Entwicklungsumgebung
            • Assembler Crashkurs
              • C++ Crashkurs
                • 🔗 Testrechnerverwaltung
                • Kontakt
              • Evaluation

              Dokumentation

              Classes | Public Types | Public Member Functions | List of all members
              Tar Class Reference

              Parser for the basic Tape ARchive Format (TAR). More...

              #include <utils/tar.h>

              Classes

              struct  File
               File Entry. More...
               

              Public Types

              enum  Type : char {
                TYPE_REG_OLD = '\0' ,
                TYPE_REG = '0' ,
                TYPE_HARD_LINK = '1' ,
                TYPE_SYM_LINK = '2' ,
                TYPE_CHR = '3' ,
                TYPE_BLK = '4' ,
                TYPE_DIR = '5' ,
                TYPE_FIFO = '6' ,
                TYPE_CONTIG = '7'
              }
               

              Public Member Functions

               assert_size (File, BLOCK_SIZE)
               
               Tar (void *data)
               Constructor. More...
               
              bool isValid (void *endptr)
               Valid values in file? More...
               
              File * get (unsigned entry)
               Get the entry for the n-th file. More...
               
              unsigned count ()
               Number of entries in the archive. More...
               

              Detailed Description

              Parser for the basic Tape ARchive Format (TAR).

              See also
              Basic Tar Format
              Short summary of the TAR format

              Member Enumeration Documentation

              enum Tar::Type : char
              Enumerator
              TYPE_REG_OLD 

              Regular file, unix compatible.

              TYPE_REG 

              Regular file.

              TYPE_HARD_LINK 

              link to a previous file

              TYPE_SYM_LINK 

              symbolic link

              TYPE_CHR 

              Character special file.

              TYPE_BLK 

              Block special file.

              TYPE_DIR 

              Directory.

              TYPE_FIFO 

              FIFO special file (no content)

              TYPE_CONTIG 

              contiguous file (file has to be allocated contiguously on the disk)

              Constructor & Destructor Documentation

              Tar::Tar ( void *  data)
              inlineexplicit

              Constructor.

              Parameters
              dataBuffer with the (full) contents of the TAR file

              Member Function Documentation

              bool Tar::isValid ( void *  endptr)

              Valid values in file?

              Parameters
              endptrPointer to the end of the buffer with the contents of the TAR file
              Returns
              'true' if all values in file seem sane
              Tar::File * Tar::get ( unsigned  entry)

              Get the entry for the n-th file.

              Parameters
              entryIndex of the file entry
              Returns
              Pointer to next file entry or 'nullptr' if it doesn't exist
              unsigned Tar::count ( )

              Number of entries in the archive.

              Returns
              Number of file entries

              The documentation for this class was generated from the following files:
              • utils/tar.h
              • utils/tar.cc
              Friedrich-Alexander-Universität
              Erlangen-Nürnberg

              Schlossplatz 4
              91054 Erlangen
              • Impressum
              • Datenschutz
              • Barrierefreiheit
              • Facebook
              • RSS Feed
              • Xing
              Nach oben