comcontrol.c (62470) | comcontrol.c (78732) |
---|---|
1/*- 2 * Copyright (c) 1992 Christopher G. Demetriou 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 */ 28 29#ifndef lint 30static const char rcsid[] = | 1/*- 2 * Copyright (c) 1992 Christopher G. Demetriou 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 */ 28 29#ifndef lint 30static const char rcsid[] = |
31 "$FreeBSD: head/sbin/comcontrol/comcontrol.c 62470 2000-07-03 13:29:04Z sheldonh $"; | 31 "$FreeBSD: head/sbin/comcontrol/comcontrol.c 78732 2001-06-24 23:04:23Z dd $"; |
32#endif /* not lint */ 33 34#include <ctype.h> 35#include <err.h> 36#include <errno.h> 37#include <fcntl.h> 38#include <stdio.h> 39#include <stdlib.h> | 32#endif /* not lint */ 33 34#include <ctype.h> 35#include <err.h> 36#include <errno.h> 37#include <fcntl.h> 38#include <stdio.h> 39#include <stdlib.h> |
40#include <string.h> |
|
40#include <unistd.h> 41#include <sys/types.h> 42#include <sys/ioctl.h> 43 44static void 45usage() 46{ 47 fprintf(stderr, --- 80 unchanged lines hidden --- | 41#include <unistd.h> 42#include <sys/types.h> 43#include <sys/ioctl.h> 44 45static void 46usage() 47{ 48 fprintf(stderr, --- 80 unchanged lines hidden --- |