Mercurial > hg > toybox
view toynet.h @ 490:96a5e66a7dae
Add new kill toy. Used to send signals to a process or a process group.
author | Daniel Walter <d.walter@0x90.at> |
---|---|
date | Tue, 21 Feb 2012 19:45:19 -0600 |
parents | e864c5ed1d25 |
children | 4dcd5decb4fd |
line wrap: on
line source
// Included after toys.h, for network stuff. Some build environments // don't include network support, so we shouldn't include it unless we're // going to build it. #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <poll.h>