mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
PTY: Added PTY IOCTL command definitions. Add support for TIOCGPTN. LIB: Implement ptsname() and ptsname_r()
This commit is contained in:
@@ -207,6 +207,18 @@ struct mallinfo mallinfo(void);
|
||||
int mallinfo(FAR struct mallinfo *info);
|
||||
#endif
|
||||
|
||||
/* Pseudo-Terminals */
|
||||
|
||||
#ifdef CONFIG_PSEUDOTERM_SUSV1
|
||||
FAR char *ptsname(int fd);
|
||||
int ptsname_r(int fd, FAR char *buf, size_t buflen);
|
||||
|
||||
#if 0 /* Not implemented */
|
||||
int grantpt(int fd);
|
||||
int unlockpt(int fd);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Arithmetic */
|
||||
|
||||
int abs(int j);
|
||||
|
||||
Reference in New Issue
Block a user