Help me implement myar archiving program in C language

Job ID: 34970637

Budget: $30 – $250 USD

MECHANISMS
-system calls: read, write, lseek, stat, utime, unlink
-library routines: Directory Routines, String Routines
(malloc, free only for buffer size from stat)
-umask

NAME
myar – Archiving Utility

SYNOPSIS
myar [qxotvdA:] archive-file [file1 …..]

This is a task in efficiently using read/write/lseek directly, and you
cannot use the buffered I/O library (fopen, fread, putc, etc). You should
be reading and writing ar_hdrs in a single system call. File contents is
written in buffers sized by stat.