#include <stdio.h>
|
|
char *
ctermid (char *buf); |
|
char *
ctermid_r (char *buf); |
If buf is the NULL pointer, a pointer to a static area is returned. Otherwise, the pathname is copied into the memory referenced by buf. The argument buf is assumed to be at least L_ctermid (as defined in the include file
#include <stdio.h )>bytes long.
The ctermid_r function provides the same functionality as ctermid except that if buf is a NULL pointer, NULL is returned. The current implementation simply returns ‘/dev/tty.’
|
The ctermid function conforms to -p1003.1-88.
|
© 2008-2009 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user. |