[SOLVED] CS #include

$25

File Name: CS_#include.zip
File Size: 103.62 KB

5/5 - (1 vote)

#include
#include

int main(void)
{
int fd[2];
char send[7] = Hello!;
char recv[7];

pipe(fd);
printf(fd[0] = %d
, fd[0]);
printf(fd[1] = %d
, fd[1]);

write(fd[1], send, 7);

read(fd[0], recv, 7);
puts(recv);

return 0;
}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS #include
$25