반응형 mit 문제2 MIT 6.828 - 1. Lab 01: Xv6 and Unix utilities - xargs 코드 및 해석 MIT 6.828 - 1. Lab 01: Xv6 and Unix utilities - xargs 문제 (Problems) xargs (moderate) Write a simple version of the UNIX xargs program: its arguments describe a command to run, it reads lines from the standard input, and it runs the command for each line, appending the line to the command's arguments. Your solution should be in the file user/xargs.c. The following example illustrates xarg's behav.. 2022. 11. 5. MIT 6.828 - 1. Lab 01: Xv6 and Unix utilities - pingpong 코드 및 해석 MIT 6.828 - 1. Lab 01: Xv6 and Unix utilities - pingpong 문제 (Problems) 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 s.. 2022. 11. 5. 이전 1 다음 반응형