SYNOPSIS
#include <termios.h>
int tcgetattr(int fildes, struct termios *termios_p);
DESCRIPTION
The
PARAMETERS
- fildes
-
Is the file descriptor, which must refer to a terminal.
- termios_p
-
Points to a structure where the information is to be returned.
RETURN VALUES
If successful,
- EBADF
-
The fildes parameter is not a valid file descriptor.
- ENOTTY
-
The file associated with fildes is not a terminal.
CONFORMANCE
POSIX.1 (1996).
MULTITHREAD SAFETY LEVEL
Async-signal-safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
cfgetispeed() ,cfgetospeed() ,ioctl() ,tcsetattr()
- Miscellaneous:
- struct termios
PTC MKS Toolkit 10.5 Documentation Build 40.