[cs631apue] Fwd: [STEVENS] Question about the HW2-cs631

Jan Schaumann jschauma at stevens.edu
Tue Sep 11 17:00:41 EDT 2012


lxia1 <lxia1 at stevens.edu> wrote:

> 1, When doing copy source to target, do we need to deal with the  
> situation that the target is a symbolic link that points to some other  
> directory?

Yes.  But you should find that this won't be very difficult to handle.

> 2, At last homework, I read the source code of the OpenSolari, I found  
> two functions that are usually called at the beginning of each program,  
> which are setlocale() and textdomain(). do we need to used them either  
> to deal with some internationalized situations?

No, you do not need to do this.  You may write your tools such that the
standard output locale is English (ie no action required on your part).

-Jan


More information about the cs631apue mailing list