Use send() when writing to sockets, and the return type is ssize_t.
[tinc] / doc / sample-config / tinc-down
1 #!/bin/sh
2 # This file closes down the tap device.
3
4 ifconfig $INTERFACE down