glibc/sysdeps/unix/sysv/linux/alpha
H. Peter Anvin (Intel) 5f138519eb termios: add new baud_t interface, defined to be explicitly numeric
Add an explicitly numeric interface for baudrate setting. For glibc,
this only announces what is a fair accompli, but this is a plausible
way forward for standardization, and may be possible to infill on
non-compliant systems. The POSIX committee has stated:

[https://www.austingroupbugs.net/view.php?id=1916#c7135]

	A future version of this standard is expected to add at least
	the following symbolic constants for use as values of objects
	of type speed_t: B57600, B115200, B230400, B460800, and
	B921600.

	Implementations are encouraged to propose additional
	interfaces which will make it possible to set and query a
	wider range of speeds than just those enumerated by the
	constants beginning with B. If a set of common interfaces
	emerges between several implementations, a future version of
	this standard will likely add those interfaces.

This is exactly that interface.

The use of the term "baud" is due to the need to have a term
contrasting "speed", and it is already well established as a legacy
term -- including in the names of the legacy Bxxx
constants. Futhermore, it *is* valid from the point of view that the
termios interface fundamentally emulates an RS-232 serial port as far
as the application software is concerned.

The documentation states that for the current version of glibc,
speed_t == baud_t, but explicitly declares that this may not be the
case in the future.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2025-06-17 09:11:38 -03:00
..
alpha
alphaev6/fpu
alphaev67/fpu
bits linux: implement arbitrary and split speeds in termios 2025-06-17 09:11:38 -03:00
fpu
sys Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Implies
Makefile
Versions
____longjmp_chk.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
a.out.h
adjtime.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
adjtimex.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
aio_cancel.c
arch-syscall.h Update syscall lists for Linux 6.15 2025-05-29 19:21:46 +00:00
brk_call.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
c++-types.data
clone.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
configure
configure.ac
dl-auxv.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-support.c
dl-sysdep.c
errlist-compat-data.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fraiseexcpt.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fstatfs.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fstatfs64.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fxstat64.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fxstatat64.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
getclktck.c
getcontext.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
getdents.c
getdents64.c
getegid.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
geteuid.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
gethostname.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
getppid.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
getrlimit64.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
gettimeofday.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
glob-lstat-compat.c
globfree.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ieee_get_fp_control.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ieee_set_fp_control.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ioperm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ipc_priv.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
kernel-features.h linux: implement arbitrary and split speeds in termios 2025-06-17 09:11:38 -03:00
kernel_sigaction.h
kernel_stat.h
kernel_sysinfo.h
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libc.abilist termios: add new baud_t interface, defined to be explicitly numeric 2025-06-17 09:11:38 -03:00
libc_malloc_debug.abilist
libdl.abilist
libm.abilist Implement C23 rootn. 2025-05-14 10:51:46 +00:00
libnsl.abilist
libpthread.abilist
libresolv.abilist
librt-compat.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
librt.abilist
libthread_db.abilist
libutil.abilist
localplt.data
lxstat64.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
makecontext.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
nldbl-abi.h
oldglob.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
osf_adjtime.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
osf_getitimer.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
osf_getrusage.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
osf_gettimeofday.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
osf_setitimer.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
osf_settimeofday.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
osf_utimes.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
osf_wait4.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
pointer_guard.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
rt_sigaction.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
select.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
setcontext.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
setfpucw.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
setrlimit64.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
settimeofday.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
shlib-versions
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sizes.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
statfs.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
statfs64.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
swapcontext.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
syscall.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
syscall_cancel.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
syscalls.list
sysconf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sysdep.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios_arch.h linux: implement arbitrary and split speeds in termios 2025-06-17 09:11:38 -03:00
timer_t_was_int_compat.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ucontext-offsets.sym
vfork.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
wait4.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
wordexp.c
xstat64.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
xstatconv.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
xstatconv.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
xstatver.h