Question: c programming in linux i would like for you to help me answer the questions. using the man pages a. (8) Read the stat(2) man
a. (8) Read the stat(2) man page, and answer the following se, and answer the following questions. True / False) [170] stating a file modifies the last accessed time field? time field? True False [170] stating a file modifies the last modified time field? True False [1/0] stating a file modifies the last status change time field? [27__70] The st_mode field contains what two types of information about an entity in the file system? file type file node [1/0] What open(2) option does not alter the last accessed time field? essed time field? O_NOATIME [1/0] What defined constant is a bit mask for file type information? [1/0] The below code is equivalent to what POSIX defined macro? if ( stFile.st_mode & S_IFMT == S_IFIFO ) { return 1; } else { return 0; b. (4) Read the futimens (2) man page, you will likely need to review the stat(2) man page as well, and answer the following questions. Given the below variable declarations: struct stat fInfo; struct timespec times[2]; [2/0] The times [O].tv_sec field is equivalent to what fInfo field? [2/0] The fInfo.st_mtim field is equivalent to what times element
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
