Skip to content

String conversion. An echo process echoes back whatever it receives from another process back to it.

Notifications You must be signed in to change notification settings

elifbayirr/Echo-Process-with-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Echo-Process-with-C

An echo process echoes back whatever it receives from another process back to it

C program using ordinary anonymous pipes in which one process continuously inputs a string (i.e., a character array) from the user via the keyboard, sends the string to the second process, and the second process reverses the characters in the string message received, and sends the reversed string back to the first process, i.e., echoes back in reverse form. For example, if the first process sends the string “Hello”, the second process will send back the string “olleH”.

The first process should print whatever it received from the second process to the console. This process should continue until the user types -1 to indicate that the operation is over. processes should exit gracefully, meaning that the second process should exit first, and the first process should wait for the second one to finish before it exits/returns itself

About

String conversion. An echo process echoes back whatever it receives from another process back to it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages