Skip to content
Snippets Groups Projects
Select Git revision
  • d039e4be658f2ca850541aa2312eaf10905d57a0
  • master default protected
  • deploy
  • develop
4 results

meeting.js

Blame
  • README.md 1.66 KiB

    Operating system Assignment 4

    TA Info & Assignment URL

    File Info

    • main.c: Implements input and output
    • alloc.h: Implements meta structure
    • alloc.c: Implements malloc, free, and realloc
    • Makefile: compiles the project
    • input directory: saves the input file

    TEST

    Test proceeds as follows.

    1. Input File name to the main function parameter.
    2. Read File (File IO)
    3. Interpret commands in File
    4. Output to stdout
    Command structure in File

    "Number of command lines" "Fit" "Command" "Contents" "Command" "Contents" ...

    Fit type (case sensitive)

    F: first fit B: Best fit W: worst fit

    Command type

    s String: String The command to put the value into f n: nth allocation area free r n m: reallocation with m bytes in the nth allocation area e n: Allocate space without contents to n bytes

    Output