From 7b588b57b39a35a00bad55f60a42bc2e12db101b Mon Sep 17 00:00:00 2001 From: auronandace Date: Thu, 4 Jun 2026 08:12:40 +0100 Subject: [PATCH] update TIOCGPTN comment --- src/header/sys_ioctl/constants.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/header/sys_ioctl/constants.rs b/src/header/sys_ioctl/constants.rs index 8849a7ce0d..a4608516d3 100644 --- a/src/header/sys_ioctl/constants.rs +++ b/src/header/sys_ioctl/constants.rs @@ -55,7 +55,8 @@ pub const TIOCSPTLCK: c_ulong = 0x4004_5431; /// location pointed to by `lock`. pub const TIOCGPTLCK: c_ulong = 0x8004_5439; -// Get the name of the PT as a c_int. +/// Obtain device unit number, which can be used to generate the filename of +/// the pseudo-terminal slave device. pub const TIOCGPTN: c_ulong = 0x8004_5430; /// POSIX `sockatmark()` from `sys/socket.h` is intended to replace this. pub const SIOCATMARK: c_ulong = 0x8905;