Mail Archives: djgpp-workers/1999/08/21/07:14:21
This is a multi-part message in MIME format.
--------------B8C79121E5D9ED8EDFF7618B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello.
I've attached a small FSEXT texinfo documentation patch. It corrects a the
mistake in the __FSEXT_set_data() return type and adds return value info
to __FSEXT_alloc_fd(). I hope I'm just in time for 2.03.
Bye,
--
--------------+----------------------+------------------------------------
Richard Dawe | richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/
--------------+----------------------+------------------------------------
--------------B8C79121E5D9ED8EDFF7618B
Content-Type: text/plain; charset=us-ascii;
name="richdawe-djgpp-1999-08-21.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="richdawe-djgpp-1999-08-21.diff"
*** src/libc/fsext/fsext.txh Tue Apr 20 20:26:46 1999
--- src/libc/fsext/fsext.txh.new Sat Aug 21 11:27:18 1999
***************
*** 179,184 ****
--- 179,189 ----
after setting the handler function to zero in the extended close
handler.
+ @subheading Return Value
+
+ If successful, a new file descriptor is returned. On error, a negative number
+ is returned and @var{errno} is set to indicate the error.
+
@subheading Portability
@portability !ansi, !posix
***************
*** 304,310 ****
@example
#include <sys/fsext.h>
! int __FSEXT_set_data(int _fd, void *_data);
@end example
@subheading Description
--- 309,315 ----
@example
#include <sys/fsext.h>
! void * __FSEXT_set_data(int _fd, void *_data);
@end example
@subheading Description
--------------B8C79121E5D9ED8EDFF7618B--
- Raw text -