[cs631apue] file type for our hw2

Jan Schaumann jschauma at stevens.edu
Wed Sep 17 22:46:51 EDT 2014


zding4 <zding4 at stevens.edu> wrote:
> Cause there are many different types for a file.
> When we program our hw2 tcp, should we consider all different kind of  
> files
> or just regular and directory?

Your program must be able to gracefully handle any type of file that's
given as an argument.  Whether this means it can "copy" the "file" is
another question altogether -- in some cases, it may make sense to error
out (with a useful error message).

-Jan


More information about the cs631apue mailing list