subject
Computers and Technology, 17.06.2021 20:10 yhhh

Using the language C, you will use ordinary pipes to implement an inter-process communication scheme for message passing between processes. Assume that there are two directories, d1 and d2, and there are different files in each one of them. Also, each file contains a short-length string of characters. You have to use a parent process that forks two children processes, and have each child process check one of the directories. Assume that child 1 (child 2) is responsible to check the directory d1 (directory d2, respectively). This child process has to create a list of names of the files in the directory and their contents.
After creating the list, each child process will send its list to the other child process using a pipe.
Upon receiving the list, child 2 (child 1) will create the files listed by child 1 (child 2) in directory d2 (directory d1, respectively) and fill the files with their initial contents.

After these steps, the directories d1 and d2 should be identical.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:50
Farah works in an office with two other employees. all three share a printer and an internet connection. the utility that makes this possible is defragger quicktime soho winzip
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
Need asap write a short paper describing the history and differences between six sigma, waterfall, agile, and scrum models. understanding these models can give you a good idea of how diverse and interesting it development projects can be. describe what the rationale for them is and describe their key features. describe the history behind their development. at least 400 words
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Write an expression that will cause the following code to print "equal" if the value of sensorreading is "close enough" to targetvalue. otherwise, print "not equal". ex: if targetvalue is 0.3333 and sensorreading is (1.0/3.0), output is:
Answers: 1
question
Computers and Technology, 24.06.2019 19:30
Which phrase is the best definition of a pivottable a a table containing data that is organized horizontally b a table used to calculate financial pivot values c a tool used to summarize data d a table containing specific formatting
Answers: 1
You know the right answer?
Using the language C, you will use ordinary pipes to implement an inter-process communication scheme...
Questions
question
Mathematics, 20.04.2020 19:40
question
Arts, 20.04.2020 19:41
question
Chemistry, 20.04.2020 19:41
question
Spanish, 20.04.2020 19:41
Questions on the website: 13722363