delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/22/11:44:34

Sender: richdawe AT bigfoot DOT com
Message-ID: <37BFF916.A297C373@tudor21.net>
Date: Sun, 22 Aug 1999 14:20:22 +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: Yet Another Trivial Documentation Patch
Reply-To: djgpp-workers AT delorie DOT com

This is a multi-part message in MIME format.
--------------D79D658C3A31E75C7962DC69
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello.

Here's a patch for something I noticed today: unsigned -> size_t in the
write() parameters, to make it consistent with the params for read().

Bye,

-- 
--------------+----------------------+------------------------------------
 Richard Dawe | richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ 
--------------+----------------------+------------------------------------
--------------D79D658C3A31E75C7962DC69
Content-Type: text/plain; charset=us-ascii;
 name="richdawe-djgpp-1999-08-22.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="richdawe-djgpp-1999-08-22.diff"

*** src/libc/posix/unistd/write.txh	Fri May  7 19:05:46 1999
--- src/libc/posix/unistd/write.txh.new	Sun Aug 22 10:43:14 1999
***************
*** 4,10 ****
  @example
  #include <unistd.h>
  
! int write(int file, const void *buffer, unsigned count);
  @end example
  
  @subheading Description
--- 4,10 ----
  @example
  #include <unistd.h>
  
! int write(int file, const void *buffer, size_t count);
  @end example
  
  @subheading Description

--------------D79D658C3A31E75C7962DC69--

- Raw text -


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