Computers and Technology
Computers and Technology, 13.08.2021 02:10, adot1

In UNIX, a pipe is created by using: pipe(fd[]);
Where fd[] is defined as:
int fd[2];
Such that fd[0] is a read end of the pipe and fd[1] is the write end.
Now consider a parent process using the following system call to write to a pipe:
write(fd[WRITE_END], write_message, strlen(write_msg)+1);
If the message to be written is "Hello Class!", which parameter in the write() system call has a value equal to "Hello Class!"?
write_message
WRITE_END
none, another variable or a printf() is needed.
depends on which variable is given that value.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:30, enazer
Type the correct answer in the box. spell all words correctly. what kind of graph or chart does this image represent? the given image represents a (blank).
Answers: 2
image
Computers and Technology, 22.06.2019 01:20, karreemgrant2
What is the full meaning of rfid in computer
Answers: 2
image
Computers and Technology, 22.06.2019 09:30, caldonjoshhsms2061
What are the steps involved in accepting all the changes in a document? arrange these in order click edit. click accept or reject. click changes. click accept all.
Answers: 1
image
Computers and Technology, 22.06.2019 19:00, alyssashae1818
Which parts of a presentation should be the most general? a. introduction and conclusion b. introduction and outline c. outline and conclusion d. outline and body
Answers: 1
Do you know the correct answer?
In UNIX, a pipe is created by using: pipe(fd[]);
Where fd[] is defined as:
int fd[2];

Questions in other subjects:

Konu
Mathematics, 18.03.2021 21:50
Konu
Mathematics, 18.03.2021 21:50