Re: [PATCH/RFC] popen.3: change wait4(2) references to wait(2) family

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Štěpán & Mike,

On 12/8/22 16:34, Štěpán Němec wrote:
On Thu,  8 Dec 2022 04:14:42 -0500
Mike Frysinger wrote:

@@ -106,15 +107,15 @@ calls fail, or if the function cannot allocate memory,
  NULL is returned.
  .PP
  .BR pclose ():
-on success, returns the exit status of the command; if
+on success, returns the exit status of the command; if one of the
  .\" These conditions actually give undefined results, so I commented
  .\" them out.
  .\" .I stream
  .\" is not associated with a "popen()ed" command, if
  .\".I stream
  .\" already "pclose()d", or if
-.BR wait4 (2)
-returns an error, or some other error is detected,
+.BR wait (2)
+family of calls returns an error, or some other error is detected,
  \-1 is returned.
  .PP
  On failure, both functions set

I'll just point out that, if this goes in, putting "one of the" _after_
the comment would prevent rendering it incomprehensible.

Yes, thanks for pointing that out!

I'd move the entire "if one of the".


Thanks,

   Štěpán

--
<http://www.alejandro-colomar.es/>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux