[cs631apue] hw2 questions

afonsec1 afonsec1 at stevens.edu
Wed Sep 21 16:05:33 EDT 2011


On Wed, 21 Sep 2011 14:02:01 -0400, Jan Schaumann wrote:
> afonsec1 <afonsec1 at stevens.edu> wrote:
>
>> For the program, can we use system calls? if so, Would you take 
>> points
>> off?
>
> Of course you can use system calls.  You can use any function calls
> provided by the standard C libraries.
>
>> For the extra credit, I'm assuming that system calls should not be 
>> used
>> for it, right?
>
> Again, you can use whatever functions you like, but the main
> functionality should be implemented using the mmap(2)/memcpy(3)
> interface.
>
> Or do you perhaps mean something different by "system calls"?
>
>> Do you want us to use a header file or everything could be in the 
>> source
>> code file?
>
> Your code should include the headers as a regular include directive 
> as
> seen in the example programs provided in class.
>
> -Jan
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs631apue

Well What I meant is if we can use syscall()?


More information about the cs631apue mailing list