mirror of git://sourceware.org/git/glibc.git
Add constants indicating the maximum values of speed_t and baud_t.
Hopefully if and when the baud_t interface is standardized then
BAUD_MAX will be included in the standardization from the start.
Historically, the __MAX_BAUD symbol has indicated the maximum speed_t
value on at least some platforms (including glibc). However, this
name would be problematic for future standardization, because it
confusingly implies a reference to baud_t, not speed_t, and it is
inconsistent with other limit symbols, which are all of the form *_MAX
(e.g. SIZE_MAX for size_t.)
[ v3: dropped leading underscores, leave __MAX_BAUD outside
#ifdef __USE_MISC since it is a legacy symbol, and
namespace-protected with a double underscore.
(Collin Funk, Adhermerval Zanella Netto) ]
[ v4: moved from __USE_MISC to __USE_GNU (Collin Funk) ]
Signed-off-by: "H. Peter Anvin" (Intel) <hpa@zytor.com>
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
|
||
|---|---|---|
| .. | ||
| types | ||
| atomic_wide_counter.h | ||
| byteswap.h | ||
| confname.h | ||
| dirent.h | ||
| dirent_ext.h | ||
| dl_find_object.h | ||
| dlfcn.h | ||
| elfclass.h | ||
| endian.h | ||
| environments.h | ||
| errno.h | ||
| fcntl.h | ||
| fenv.h | ||
| floatn-common.h | ||
| floatn.h | ||
| flt-eval-method.h | ||
| fp-fast.h | ||
| fp-logb.h | ||
| hwcap.h | ||
| in.h | ||
| indirect-return.h | ||
| ioctl-types.h | ||
| ioctls.h | ||
| ipc.h | ||
| ipctypes.h | ||
| iscanonical.h | ||
| libc-header-start.h | ||
| libm-simd-decl-stubs.h | ||
| link.h | ||
| link_lavcurrent.h | ||
| local_lim.h | ||
| long-double.h | ||
| math-vector.h | ||
| mathdef.h | ||
| mman.h | ||
| mman_ext.h | ||
| mqueue.h | ||
| msq.h | ||
| netdb.h | ||
| param.h | ||
| poll.h | ||
| posix_opt.h | ||
| pthreadtypes.h | ||
| resource.h | ||
| sched.h | ||
| select.h | ||
| sem.h | ||
| setjmp.h | ||
| shm.h | ||
| sigaction.h | ||
| sigcontext.h | ||
| sigevent-consts.h | ||
| siginfo-consts.h | ||
| signal_ext.h | ||
| signum-arch.h | ||
| signum-generic.h | ||
| sigstack.h | ||
| sigstksz.h | ||
| sigthread.h | ||
| sockaddr.h | ||
| socket.h | ||
| spawn_ext.h | ||
| ss_flags.h | ||
| stat.h | ||
| statfs.h | ||
| statvfs.h | ||
| stdint-intn.h | ||
| stdint-least.h | ||
| stdint-uintn.h | ||
| stdlib-bsearch.h | ||
| syslog-path.h | ||
| sysmacros.h | ||
| termios-baud.h | ||
| termios.h | ||
| time.h | ||
| time64.h | ||
| timesize.h | ||
| typesizes.h | ||
| uintn-identity.h | ||
| uio-ext.h | ||
| uio_lim.h | ||
| unistd_ext.h | ||
| utmp.h | ||
| utsname.h | ||
| waitflags.h | ||
| waitstatus.h | ||
| wchar.h | ||
| wordsize.h | ||