Write a program called tarc that performs much of the cf operation of tar .The command arguments look like:
If there are no ar guments, tarc reports an error and e xits. If there is no directory or file to arch ve,tarc reports an error and exits. Otherwise, tarc creates in archivename atar archive with the contents of the tree.
Your version should write standard tar files (using the usta ,--see the manual and header file) and be abl to handle the following file types, conditions, and errors File types: re gular files, directories, symbolic links, and fifos (named pipes Conditions: path names not longer than 100 chars. Errors: unreadable files and directories, things you cannot stat() should be handle as tar does.