Deleted Added
full compact
stty.c (127958) stty.c (141578)
1/*-
2 * Copyright (c) 1989, 1991, 1993, 1994
3 * The Regents of the University of California. 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

--- 25 unchanged lines hidden (view full) ---

34 The Regents of the University of California. All rights reserved.\n";
35#endif /* not lint */
36
37#ifndef lint
38static char sccsid[] = "@(#)stty.c 8.3 (Berkeley) 4/2/94";
39#endif /* not lint */
40#endif
41#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1989, 1991, 1993, 1994
3 * The Regents of the University of California. 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

--- 25 unchanged lines hidden (view full) ---

34 The Regents of the University of California. All rights reserved.\n";
35#endif /* not lint */
36
37#ifndef lint
38static char sccsid[] = "@(#)stty.c 8.3 (Berkeley) 4/2/94";
39#endif /* not lint */
40#endif
41#include <sys/cdefs.h>
42__FBSDID("$FreeBSD: head/bin/stty/stty.c 127958 2004-04-06 20:06:54Z markm $");
42__FBSDID("$FreeBSD: head/bin/stty/stty.c 141578 2005-02-09 17:37:39Z ru $");
43
44#include <sys/types.h>
45
46#include <ctype.h>
47#include <err.h>
48#include <errno.h>
49#include <fcntl.h>
50#include <stdio.h>

--- 99 unchanged lines hidden (view full) ---

150 warn("TIOCSWINSZ");
151 exit(0);
152}
153
154void
155usage(void)
156{
157
43
44#include <sys/types.h>
45
46#include <ctype.h>
47#include <err.h>
48#include <errno.h>
49#include <fcntl.h>
50#include <stdio.h>

--- 99 unchanged lines hidden (view full) ---

150 warn("TIOCSWINSZ");
151 exit(0);
152}
153
154void
155usage(void)
156{
157
158 (void)fprintf(stderr, "usage: stty [-a|-e|-g] [-f file] [options]\n");
158 (void)fprintf(stderr,
159 "usage: stty [-a | -e | -g] [-f file] [arguments]\n");
159 exit (1);
160}
160 exit (1);
161}