File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ feature! {
353353/// Get the terminal foreground process group (see
354354/// [tcgetpgrp(3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcgetpgrp.html)).
355355///
356- /// Get the group process id (GPID ) of the foreground process group on the
356+ /// Get the group process id (PGID ) of the foreground process group on the
357357/// terminal associated to file descriptor (FD).
358358 #[ inline]
359359pub fn tcgetpgrp<F : std:: os:: fd:: AsFd >( fd: F ) -> Result <Pid > {
@@ -363,9 +363,9 @@ pub fn tcgetpgrp<F: std::os::fd::AsFd>(fd: F) -> Result<Pid> {
363363 Errno :: result( res) . map( Pid )
364364}
365365/// Set the terminal foreground process group (see
366- /// [tcgetpgrp (3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcsetpgrp.html)).
366+ /// [tcsetpgrp (3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcsetpgrp.html)).
367367///
368- /// Get the group process id (PGID) to the foreground process group on the
368+ /// Set the group process id (PGID) to the foreground process group on the
369369/// terminal associated to file descriptor (FD).
370370 #[ inline]
371371pub fn tcsetpgrp<F : std:: os:: fd:: AsFd >( fd: F , pgrp: Pid ) -> Result <( ) > {
You can’t perform that action at this time.
0 commit comments