]> git.lizzy.rs Git - plan9front.git/blob - sys/src/libc/port/hangup.c
libregexp: improve the transition to next available thread, instruction, and generation
[plan9front.git] / sys / src / libc / port / hangup.c
1 #include <u.h>
2 #include <libc.h>
3 #include <ctype.h>
4
5 /*
6  *  force a connection to hangup
7  */
8 int
9 hangup(int ctl)
10 {
11         return write(ctl, "hangup", sizeof("hangup")-1) != sizeof("hangup")-1;
12 }