blob: 83d0735cb87b2119ae1b19097741c62799d22420 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <u.h>
#include <libc.h>
#include <ctype.h>
/*
* force a connection to hangup
*/
int
hangup(int ctl)
{
return write(ctl, "hangup", sizeof("hangup")-1) != sizeof("hangup")-1;
}
|