Hello!
I need some help on a simple C program I am making. The program is equivalent to this command:
ps -ef | grep USER_NAME | wc
So far... I've gotten the "ps -ef" and the "grep" to work via the pipe and fork. I can't get the "wc" to work for the life of me...
Any help would be much appreciated!
The .c file should be attached...