User profile: ahmedkhan

User info
User name:ahmedkhan
Number of posts:4
Latest posts:

Seg fault in custom C Shell
just use piping output of two or more linux cmds, I used "ls -l | sort" to trigger segfault

Process creation issue
Use waitpid() instead , also include sys/wait.h as hinted by firedraco .

TCP server and cerr/cin
Include this line after #include <iostream> using namespace std; Hope this solves your problem!...

Seg fault in custom C Shell
shhh> Program received signal SIGSEGV, Segmentation fault. 0x08048772 in main () at sh.c:56 56 ...

This user does not accept Private Messages

User: ahmedkhan

  • Public profile