LiavonaZh / polytech-si3-posix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

POSIX

TD 1 - Malloc

In /TD_01_Malloc folder, run make to compile C code. Then run ./tst_mymalloc1.exe or ./tst_mymalloc2.exe.

TD 2 - Cache

In /TD_02_Cache folder, run make to compile C code. Then run ./tst_Cache_STRAT.exe where STRAT is RAND, NUR, LRU or FIFO. The expected output of these programs is in STRAT_default.out

TD 4 - Files

In /TD_04_files_dirs folder, run gcc -Wall -std=c99 -o my_cp_with_directory my_cp_with_directopy.c, then run ./my_cp_with_directory to test the program. P.S. I think I didn't finish the recursive version of cp command.

TD 06 - Redirection

In /TD_06_redirection, run make to compile C code. Then run ./ring to test the program.

About


Languages

Language:C 91.7%Language:Makefile 5.3%Language:Shell 2.8%Language:C++ 0.2%