mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-05 17:11:06 +00:00
2002-08-13 Jakub Jelinek <jakub@redhat.com>
* include/unistd.h (tcgetpgrp): Add libc_hidden_proto. * include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise. * sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def. * sysdeps/generic/tcsetattr.c (tcsetattr): Likewise. * sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise. * sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise. * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise. * sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed): Likewise. * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise. * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise. * sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise. * sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise. * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. * sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise. * sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise. * sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.
This commit is contained in:
parent
e0acc021ce
commit
9c1cc5c52c
@ -1,5 +1,5 @@
|
||||
/* `struct termios' speed frobnication functions. SunOS 4 version.
|
||||
Copyright (C) 1991, 1992, 1993, 1996, 1997 Free Software Foundation, Inc.
|
||||
Copyright (C) 1991,1992,1993,1996,1997,2002 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
|
||||
@ -87,6 +87,7 @@ cfsetospeed (termios_p, speed)
|
||||
__set_errno (EINVAL);
|
||||
return -1;
|
||||
}
|
||||
libc_hidden_def (cfsetospeed)
|
||||
|
||||
/* Set the input baud rate stored in *TERMIOS_P to SPEED. */
|
||||
int
|
||||
@ -114,3 +115,4 @@ cfsetispeed (termios_p, speed)
|
||||
__set_errno (EINVAL);
|
||||
return -1;
|
||||
}
|
||||
libc_hidden_def (cfsetispeed)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1993, 1996, 1997, 2002 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
|
||||
@ -47,3 +47,4 @@ tcsetattr (fd, optional_actions, termios_p)
|
||||
|
||||
return __ioctl (fd, cmd, termios_p);
|
||||
}
|
||||
libc_hidden_def (tcsetattr)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* `struct termios' speed frobnication functions. AIX version.
|
||||
Copyright (C) 2000 Free Software Foundation, Inc.
|
||||
Copyright (C) 2000, 2002 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
|
||||
@ -53,6 +53,8 @@ cfsetospeed (termios_p, speed)
|
||||
termios_p->c_cflag |= speed & 0x0000000f;
|
||||
return 0;
|
||||
}
|
||||
libc_hidden_def (cfsetospeed)
|
||||
|
||||
|
||||
/* Set the input baud rate stored in *TERMIOS_P to SPEED. */
|
||||
int
|
||||
@ -70,3 +72,4 @@ cfsetispeed (termios_p, speed)
|
||||
termios_p->c_cflag |= (speed << 16) & ~0x000f0000;
|
||||
return 0;
|
||||
}
|
||||
libc_hidden_def (cfsetispeed)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1992, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1992,1995,1996,1997,2000,2002 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
|
||||
@ -195,3 +195,4 @@ tcsetattr (fd, optional_actions, termios_p)
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
libc_hidden_def (tcsetattr)
|
||||
|
Loading…
Reference in New Issue
Block a user