diff options
author | Alan Somers <asomers@gmail.com> | 2017-10-08 10:29:20 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2017-10-08 12:21:20 -0600 |
commit | 7ec567729772678899d9a53bbb25b8168d4596ca (patch) | |
tree | bae6baf03c0e317d39c4278358870947d38de8f6 /src/pty.rs | |
parent | 9f4db8a494398226d4feda72ea2c4ed25fa03364 (diff) | |
download | nix-7ec567729772678899d9a53bbb25b8168d4596ca.zip |
Replace most Linux man page links with Open Group man page links
But leave in place Linux links for non-standard functions. Also, add
brief docs for some functions that were lacking them.
Diffstat (limited to 'src/pty.rs')
-rw-r--r-- | src/pty.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -61,7 +61,7 @@ impl Drop for PtyMaster { } /// Grant access to a slave pseudoterminal (see -/// [grantpt(3)](http://man7.org/linux/man-pages/man3/grantpt.3.html)) +/// [grantpt(3)](http://pubs.opengroup.org/onlinepubs/9699919799/functions/grantpt.html)) /// /// `grantpt()` changes the mode and owner of the slave pseudoterminal device corresponding to the /// master pseudoterminal referred to by `fd`. This is a necessary step towards opening the slave. @@ -75,7 +75,7 @@ pub fn grantpt(fd: &PtyMaster) -> Result<()> { } /// Open a pseudoterminal device (see -/// [posix_openpt(3)](http://man7.org/linux/man-pages/man3/posix_openpt.3.html)) +/// [posix_openpt(3)](http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_openpt.html)) /// /// `posix_openpt()` returns a file descriptor to an existing unused pseuterminal master device. /// @@ -176,7 +176,7 @@ pub fn ptsname_r(fd: &PtyMaster) -> Result<String> { } /// Unlock a pseudoterminal master/slave pseudoterminal pair (see -/// [unlockpt(3)](http://man7.org/linux/man-pages/man3/unlockpt.3.html)) +/// [unlockpt(3)](http://pubs.opengroup.org/onlinepubs/9699919799/functions/unlockpt.html)) /// /// `unlockpt()` unlocks the slave pseudoterminal device corresponding to the master pseudoterminal /// referred to by `fd`. This must be called before trying to open the slave side of a |