Xv6 utilities  [draft]

Xv6 Lab: Xv6 and Unix utilities utilities pingpong pingpong (easy) Write a program that uses UNIX system calls to ‘‘ping-pong’’ a byte between two processes over a pair of pipes, one for each direction. The parent should send a byte to the child; the child should print “: received ping”, where is its process ID, write the byte on the pipe to the parent, and exit; the parent should read the byte from the child, print “: received pong”, and exit....

March 12, 2023 · 2 min · 419 words · Me