delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/21/07:14:21

Sender: richdawe AT bigfoot DOT com
Message-ID: <37BE81DD.779D8DBE@tudor21.net>
Date: Sat, 21 Aug 1999 11:39:25 +0100
From: Richard Dawe <richdawe AT bigfoot DOT com>
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.10 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Small FSEXT texinfo documentation changes
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019