Mercurial > hg > rlgwebd
comparison ptyhelper.c @ 1:9bef0941c6dd
Add a few comments.
| author | John "Elwin" Edwards <elwin@sdf.org> |
|---|---|
| date | Sun, 06 May 2012 09:04:14 -0700 |
| parents | bd412f63ce0d |
| children |
comparison
equal
deleted
inserted
replaced
| 0:bd412f63ce0d | 1:9bef0941c6dd |
|---|---|
| 1 /* | |
| 2 * ptyhelper: a utility that runs a command in a pseudoterm and then streams | |
| 3 * stdio to/from it. Intended to get around the node.js loss of C/UNIX | |
| 4 * functionality. | |
| 5 * Remember to compile with -lutil. | |
| 6 */ | |
| 1 #include <stdio.h> | 7 #include <stdio.h> |
| 2 #include <stdlib.h> | 8 #include <stdlib.h> |
| 3 #include <unistd.h> | 9 #include <unistd.h> |
| 4 #include <signal.h> | 10 #include <signal.h> |
| 5 #include <pty.h> | 11 #include <pty.h> |
