Skip to content

Latest commit

 

History

History
3 lines (3 loc) · 524 Bytes

Readme.md

File metadata and controls

3 lines (3 loc) · 524 Bytes

1.Write a C program to emulate the ls command using stat and lstat API functions .Print File type, permission etc all the attributes.

2.Perform reverse reading of a file by using lseek API. Pass the File parameter as a command Line argument.

3.Write a C Program to create a new process using Fork operation .Print the Process ID of the child and its parent in the child process and print the process Id of parent,child Pid and parent’s parent process Id in Parent.Make the parent to sleep for 3 seconds.