subject
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.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:20
Consider a byte-addressable computer with 16mb of main memory, a cache capable of storing a total of 64kb of data and block size of 32 bytes. (a) how many bits in the memory address? (b) how many blocks are in the cache? (c) specify the format of the memory address, including names and sizes, when the cache is: 1. direct-mapped 2. 4-way set associative 3. fully associative
Answers: 2
question
Computers and Technology, 22.06.2019 16:20
Octothorpe is another name for what common computer keyboard symbol?
Answers: 1
question
Computers and Technology, 23.06.2019 04:20
Which network media uses different regions of the electromagnetic spectrum to transmit signals through air? uses different regions of the electromagnetic spectrum to transmit signals through air.
Answers: 2
question
Computers and Technology, 23.06.2019 22:30
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
You know the right answer?
In UNIX, a pipe is created by using: pipe(fd[]);
Where fd[] is defined as:
int fd[2];
Questions
question
Mathematics, 27.08.2019 22:30
question
Biology, 27.08.2019 22:30
question
English, 27.08.2019 22:30
question
Chemistry, 27.08.2019 22:30
Questions on the website: 13722367