Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Some improved docs for the new function

  • Loading branch information...
commit da52d96d018df87062335ba2e27d0c25c9b2c3ab 1 parent f7fec05
@Whiteknight Whiteknight authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/embed/api.c
4 src/embed/api.c
@@ -429,7 +429,9 @@ handle, Parrot_Int fileno, Parrot_PMC *old_handle)>
Set one of the C<interp_pmc>'s standard IO PMCs. The handle PMC C<handle> is
an IO-type PMC (such as FileHandle or StringHandle). The fileno is one of
C<0> for stdin, C<1> for stdout and C<2> for stderr. Other values are not
-(currently) allowed.
+(currently) allowed. The previous PMC for that handle is returned as
+C<old_handle>. This function returns a true value if this call is successful
+and false value otherwise.
Please sign in to comment.
Something went wrong with that request. Please try again.