RTEMS 4.7.99.2 On-Line Library
Process Environment Manager ttyname_r - Reentrant Determine Terminal Device Name
RTEMS POSIX API User's Guide
3.4.21: ttyname_r - Reentrant Determine Terminal Device Name
CALLING SEQUENCE:
-
int ttyname_r(
int fd,
char *name,
int namesize
);
STATUS CODES:
This routine returns -1 and sets errno
as follows:
- EBADF
-
If not a valid descriptor for a terminal device.
- EINVAL
-
If
name
is NULL or namesize
are insufficient.
DESCRIPTION:
This service the pathname of the terminal device that is open
on the file descriptor fd
.
NOTES:
NONE
RTEMS POSIX API User's Guide
Copyright © 1988-2004 OAR Corporation