Team Name: 98102284-98170668
Student Name of member 1: 98102284
Student No. of member 1: Parsa Mohammadian
Student Name of member 2: 98170668
Student No. of member 2: Sara Azarnoush
- Read Session Contents.
-
- The syscall runs successfully and returns the status code 0, which indicates success. So after that, a folder named
testdir
is created in the directory where we run the program. -
__NR_mkdir
is a macro associated withmkdir
system call number. We saw it inunistd.h
file. The__NR
prefix is an abbreviation for the word number. - The
syscall
function invokes a requested system call. It takes the syscall number as the first parameter and syscall inputs as the rest of the paramters. It returns a long integer which indicates success on 0 and error on other numbers.