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 15:20
The north and south regions had very diferent economies in the 1800s.
Answers: 1
question
Computers and Technology, 22.06.2019 17:00
1. so if i wanted to build a linux server for web services(apache) with 1cpu and 2 gb of memory.-operating at 75% of memory capacity2. a windows server with 2 cpu/ 4gb memory- operating at 85% of memory capacity3. a storage server with 1 cpu/ 2gb memory- operating at 85% of memory capacityhow much memory do i have to add for each server.so that the utilization rate for both cpu and memory is at a baseline of 60%."the details for the cpu like its processor or the memory's speed isnt to be concerned" yeah i kept asking my teacher if he's even sure about the but the whole class seems to be confused and the project is due in 3 days..this is a virtualization project where i have to virtualize a typical server into an exsi hypervisor.
Answers: 2
question
Computers and Technology, 22.06.2019 20:00
Amanda needs to create an informative print brochure for her local library’s fundraiser dinner. what critical detail must she have before she starts designing the brochure?
Answers: 1
question
Computers and Technology, 22.06.2019 22:50
Which is the best minecraft server? a. mineplex b. worldonecraft c. 9b9t d. 2b2t
Answers: 2
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, 15.05.2021 01:30
question
Spanish, 15.05.2021 01:30
question
Mathematics, 15.05.2021 01:30
question
Mathematics, 15.05.2021 01:30