mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 02:40:06 +00:00
581c785bf3
I used these shell commands: ../glibc/scripts/update-copyrights $PWD/../gnulib/build-aux/update-copyright (cd ../glibc && git commit -am"[this commit message]") and then ignored the output, which consisted lines saying "FOO: warning: copyright statement not found" for each of 7061 files FOO. I then removed trailing white space from math/tgmath.h, support/tst-support-open-dev-null-range.c, and sysdeps/x86_64/multiarch/strlen-vec.S, to work around the following obscure pre-commit check failure diagnostics from Savannah. I don't know why I run into these diagnostics whereas others evidently do not. remote: *** 912-#endif remote: *** 913: remote: *** 914- remote: *** error: lines with trailing whitespace found ... remote: *** error: sysdeps/unix/sysv/linux/statx_cp.c: trailing lines
73 lines
1.7 KiB
C
73 lines
1.7 KiB
C
/* termios baud platform specific definitions. Linux/powerpc version.
|
|
Copyright (C) 2019-2022 Free Software Foundation, Inc.
|
|
This file is part of the GNU C Library.
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Lesser General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
The GNU C Library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with the GNU C Library. If not, see
|
|
<https://www.gnu.org/licenses/>. */
|
|
|
|
#ifndef _TERMIOS_H
|
|
# error "Never include <bits/termios-misc.h> directly; use <termios.h> instead."
|
|
#endif
|
|
|
|
#ifdef __USE_MISC
|
|
|
|
struct sgttyb {
|
|
char sg_ispeed;
|
|
char sg_ospeed;
|
|
char sg_erase;
|
|
char sg_kill;
|
|
short sg_flags;
|
|
};
|
|
|
|
struct tchars {
|
|
char t_intrc;
|
|
char t_quitc;
|
|
char t_startc;
|
|
char t_stopc;
|
|
char t_eofc;
|
|
char t_brkc;
|
|
};
|
|
|
|
struct ltchars {
|
|
char t_suspc;
|
|
char t_dsuspc;
|
|
char t_rprntc;
|
|
char t_flushc;
|
|
char t_werasc;
|
|
char t_lnextc;
|
|
};
|
|
|
|
/* Used for packet mode */
|
|
#define TIOCPKT_DATA 0
|
|
#define TIOCPKT_FLUSHREAD 1
|
|
#define TIOCPKT_FLUSHWRITE 2
|
|
#define TIOCPKT_STOP 4
|
|
#define TIOCPKT_START 8
|
|
#define TIOCPKT_NOSTOP 16
|
|
#define TIOCPKT_DOSTOP 32
|
|
|
|
/* c_cc characters */
|
|
#define _VINTR 0
|
|
#define _VQUIT 1
|
|
#define _VERASE 2
|
|
#define _VKILL 3
|
|
#define _VEOF 4
|
|
#define _VMIN 5
|
|
#define _VEOL 6
|
|
#define _VTIME 7
|
|
#define _VEOL2 8
|
|
#define _VSWTC 9
|
|
|
|
#endif /* __USE_MISC */
|