Question on UNIX

Hi,
Can you please advise on answers of below 4 questions as I am not sure on the answers.
1.
You are porting a C program that interacts over a network with remote systems. The program was originally written on AMD64 Linux. You are migrating it to SPARC Solaris architecture.
Question Based on the scenario above, what issue do you need to resolve to successfully migrate the program?
Choice 1
Linux page faults need to be handled with a different system call than on Solaris.
Choice 2
Lack of TCP sockets on Solaris.
Choice 3
Keepalive packets need to be explicitly enabled.
Choice 4
Different endianness.
Choice 5
Lack of POSIX on Solaris.

cat does exist does_not_exist 2>&1 1>output
file exist in system and file does_not_exist in system.
when we execute error message is directed to stderr,stdout and named file output or named file output only,stdout only.

3.if we want the time command to output how much memory program has used
1.Specify "--display=memory"
2.Export time_show_memory=1
3.o/p raw data to file and use nm to parse the results
4.pass -m1 to time command
5.run time in csh

4.when a unix command runs from a shell,what is called first.
access,fork,exec,clone,sbark.

Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.