Mail Archives: djgpp-workers/2001/03/25/03:24:22
On Sat, 24 Mar 2001, Mark E. wrote:
> This version adds a pipe property so lseek can detect a file descriptor with
> this property and set ESPIPE accordingly.
Thanks.
Looks okay, except for these two nits:
> @subheading Description
>
> ! This function creates a pipe and places a file descriptor for the read end
> ! of the pipe in @code{fildes[0]}, and another for the write end in
> ! @code{fildes[1]}. Data written to @code{fildes[1]} will be read from
> ! @code{fildes[0]} on a first-in first-out (FIFO) basis.
"fildes" should have a @var markup, since it's a formal argument of
`pipe', like this:
@code{@var{fildes}[0]}
> + Zero for success, otherwise -1 is returned and @var{errno} is set
"errno" is _not_ a formal argument, so it should have the @code
markup.
- Raw text -