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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:30, iamquintix
Exchanging which type of data uses the least bandwidth? music photographs video voice bandwidth- the amount of data that can be moved between two points in a set time period
Answers: 1
image
Computers and Technology, 22.06.2019 22:50, youngboymark123
Assume the existence of a bankaccount class. define a derived class, savingsaccount that contains two instance variables: the first a double, named interestrate, and the second an integer named interesttype. the value of the interesttype variable can be 1 for simple interest and 2 for compound interest. there is also a constructor that accepts two parameters: a double that is used to initialize the interestrate variable, and a string that you may assume will contain either "simple", or "compound", and which should be used to initialize the interesttype variable appropriately. there should also be a pair of functions getinterestrate and getinteresttype that return the values of the corresponding data members (as double and int respectively).
Answers: 2
image
Computers and Technology, 23.06.2019 02:00, kelseybell5522
For a typical middle-income family, what is the estimated cost of raising a child to the age of 18? $145,500 $245,340 $304,340 $455,500
Answers: 1
image
Computers and Technology, 23.06.2019 16:00, cravens511peeelg
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
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 in other subjects:

Konu
History, 01.01.2020 17:31