update TIOCGPTN comment

This commit is contained in:
auronandace
2026-06-04 08:12:40 +01:00
parent fafc4c2c00
commit 7b588b57b3
+2 -1
View File
@@ -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;